Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 110.2 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009951/0.0009951, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009443/0.0009443, allocations: 47.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1986, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005569/0.2042, allocations: 4.84 MB / 406.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.2064, allocations: 1.347 MB / 407.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.2068, allocations: 12 kB / 407.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.2072, allocations: 150.7 kB / 407.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007158/0.208, allocations: 353.3 kB / 408.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.2084, allocations: 211.6 kB / 408.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.2095, allocations: 1.034 MB / 409.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.2099, allocations: 291.2 kB / 409.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004888/0.2104, allocations: 406.6 kB / 410 MB, free: 172 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.2109, allocations: 450.2 kB / 410.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.2111, allocations: 92 kB / 410.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.2113, allocations: 88 kB / 410.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.2114, allocations: 195.3 kB / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.2119, allocations: 477.8 kB / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00093/0.2128, allocations: 1.078 MB / 412.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2128, allocations: 0 / 412.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2129, allocations: 0 / 412.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.2129, allocations: 0 / 412.4 MB, free: 13.81 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002229/0.2151, allocations: 1.22 MB / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.2151, allocations: 8.031 kB / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.2153, allocations: 95.91 kB / 413.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007407/0.2161, allocations: 0.5158 MB / 414.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.2162, allocations: 101.3 kB / 414.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.65e-05/0.2163, allocations: 52.36 kB / 414.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.2177, allocations: 0.7966 MB / 415.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2177, allocations: 0 / 415.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.2178, allocations: 24 kB / 415.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.2178, allocations: 12 kB / 415.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.219, allocations: 0.5036 MB / 415.7 MB, free: 10.27 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/0.2223, allocations: 2.154 MB / 417.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.2236, allocations: 0.5383 MB / 418.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.2242, allocations: 262.3 kB / 418.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.2243, allocations: 12.5 kB / 418.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007319/0.225, allocations: 327 kB / 419 MB, free: 6.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 2.504e-06/0.225, allocations: 0 / 419 MB, free: 6.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.005007/0.2301, allocations: 1.485 MB / 420.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003208/0.2304, allocations: 0.8272 MB / 421.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.2311, allocations: 0.59 MB / 421.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.2311, allocations: 45.7 kB / 421.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.2314, allocations: 333.1 kB / 422.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.2315, allocations: 197.2 kB / 422.4 MB, free: 3.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.2318, allocations: 130.2 kB / 422.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2319, allocations: 374.8 kB / 422.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/0.2325, allocations: 213 kB / 423.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000834/0.2333, allocations: 0.513 MB / 423.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.2346, allocations: 0.5654 MB / 424.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2346, allocations: 0 / 424.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002244/0.2368, allocations: 0.8973 MB / 425.1 MB, free: 204 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.2369, allocations: 63.39 kB / 425.2 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2369, allocations: 4 kB / 425.2 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007157/0.2376, allocations: 221.6 kB / 425.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.2383, allocations: 119.8 kB / 425.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00653/0.2448, allocations: 4.582 MB / 430.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006777/0.2455, allocations: 95.38 kB / 430.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.2456, allocations: 24 kB / 430.2 MB, free: 10.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002888/0.2459, allocations: 209.8 kB / 430.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.246, allocations: 83.14 kB / 430.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.2461, allocations: 74.86 kB / 430.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002121/0.2483, allocations: 1.05 MB / 431.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2483, allocations: 0 / 431.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.2486, allocations: 216 kB / 431.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2487, allocations: 16 kB / 431.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/0.2493, allocations: 43.95 kB / 431.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.2494, allocations: 44.44 kB / 431.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002516/0.2519, allocations: 0.797 MB / 432.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001977/0.2539, allocations: 0.9935 MB / 433.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005872/0.2545, allocations: 240.2 kB / 434 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004562/0.255, allocations: 423.1 kB / 434.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of Backend: time 2.41e-07/0.255, allocations: 0 / 434.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.2568, allocations: 0.9272 MB / 435.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of SimCode: time 0.002162/0.259, allocations: 1.867 MB / 437.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of Templates: time 0.02292/0.282, allocations: 15.16 MB / 452.3 MB, free: 4.652 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1)