Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001957/0.001957, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.89 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2165, allocations: 50.54 MB / 409.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005383/0.2219, allocations: 4.844 MB / 414.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.2239, allocations: 1.374 MB / 416.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.2241, allocations: 8 kB / 416.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.2244, allocations: 158.7 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.225, allocations: 345.4 kB / 416.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.2254, allocations: 215.6 kB / 416.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009152/0.2264, allocations: 1.035 MB / 417.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/0.2267, allocations: 301.7 kB / 418.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.2272, allocations: 414.5 kB / 418.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.2277, allocations: 450.1 kB / 419 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.2278, allocations: 88 kB / 419.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.228, allocations: 92 kB / 419.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.2282, allocations: 191.3 kB / 419.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003947/0.2286, allocations: 473.8 kB / 419.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000879/0.2295, allocations: 1.076 MB / 420.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2295, allocations: 0 / 420.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2295, allocations: 3.938 kB / 420.9 MB, free: 6.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.2295, allocations: 4 kB / 420.9 MB, free: 6.559 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.002128/0.2316, allocations: 1.212 MB / 422.2 MB, free: 5.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2317, allocations: 12.03 kB / 422.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.2319, allocations: 99.81 kB / 422.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007407/0.2326, allocations: 0.516 MB / 422.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.2328, allocations: 105.3 kB / 422.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.2329, allocations: 48.38 kB / 422.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.2342, allocations: 0.8005 MB / 423.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.2343, allocations: 3.906 kB / 423.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.2343, allocations: 31.98 kB / 423.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.2344, allocations: 12 kB / 423.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.2356, allocations: 0.4919 MB / 424.3 MB, free: 3.008 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.003143/0.2387, allocations: 2.15 MB / 426.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.24, allocations: 0.5331 MB / 427 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/0.2407, allocations: 255.5 kB / 427.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.2407, allocations: 20.41 kB / 427.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007202/0.2415, allocations: 323 kB / 427.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.114e-06/0.2415, allocations: 0 / 427.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004978/0.2465, allocations: 1.493 MB / 429 MB, free: 14.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000283/0.2468, allocations: 0.8194 MB / 429.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/0.2474, allocations: 0.594 MB / 430.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.2475, allocations: 37.7 kB / 430.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.2477, allocations: 336.8 kB / 430.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.2478, allocations: 193.2 kB / 431 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.248, allocations: 134.2 kB / 431.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2482, allocations: 374.8 kB / 431.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.2488, allocations: 213 kB / 431.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007998/0.2496, allocations: 0.5169 MB / 432.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.2507, allocations: 0.5654 MB / 432.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2508, allocations: 4 kB / 432.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002188/0.253, allocations: 0.9011 MB / 433.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.253, allocations: 71.33 kB / 433.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.253, allocations: 0 / 433.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006872/0.2537, allocations: 217.6 kB / 434 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.2544, allocations: 115.8 kB / 434.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00616/0.2605, allocations: 4.59 MB / 438.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/0.2612, allocations: 83.39 kB / 438.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.2613, allocations: 20 kB / 438.8 MB, free: 3.562 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.0002707/0.2615, allocations: 217.8 kB / 439 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2617, allocations: 75.16 kB / 439.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.2618, allocations: 82.86 kB / 439.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002031/0.2638, allocations: 1.05 MB / 440.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2639, allocations: 0 / 440.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.2641, allocations: 208 kB / 440.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.2642, allocations: 19.98 kB / 440.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.2648, allocations: 52.14 kB / 440.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.2649, allocations: 48.44 kB / 440.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002424/0.2674, allocations: 0.8088 MB / 441.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001949/0.2693, allocations: 0.9857 MB / 442.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005643/0.2699, allocations: 236.5 kB / 442.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004431/0.2703, allocations: 419.1 kB / 443 MB, free: 15.21 MB / 366.1 MB Notification: Performance of Backend: time 4.11e-07/0.2704, allocations: 0 / 443 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.2722, allocations: 0.935 MB / 443.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of SimCode: time 0.002079/0.2743, allocations: 1.836 MB / 445.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of Templates: time 0.02114/0.2954, allocations: 15.19 MB / 460.9 MB, free: 13.36 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1)