Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_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.001037/0.001037, allocations: 96.95 kB / 18.37 MB, free: 4.711 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.0009925/0.0009925, allocations: 187 kB / 19.3 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 51.92 kB / 329.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07587/0.07709, allocations: 46.6 MB / 375.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.155/0.2322, allocations: 4.819 MB / 380.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.2343, allocations: 1.403 MB / 382 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.2346, allocations: 10.81 kB / 382 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.2349, allocations: 157.5 kB / 382.2 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005259/0.2355, allocations: 334.4 kB / 382.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.2359, allocations: 218 kB / 382.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008281/0.2367, allocations: 1.033 MB / 383.7 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.2371, allocations: 299.8 kB / 384 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000545/0.2377, allocations: 406.2 kB / 384.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004598/0.2382, allocations: 447.8 kB / 384.9 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.2383, allocations: 88.25 kB / 384.9 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.2384, allocations: 94 kB / 385 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.2386, allocations: 191.9 kB / 385.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.239, allocations: 480.1 kB / 385.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.24, allocations: 1.075 MB / 386.8 MB, free: 8.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.24, allocations: 1.094 kB / 386.8 MB, free: 8.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.24, allocations: 0 / 386.8 MB, free: 8.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.2401, allocations: 0 / 386.8 MB, free: 8.098 MB / 318.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.002056/0.2421, allocations: 1.226 MB / 388 MB, free: 7.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2422, allocations: 9.422 kB / 388 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.2424, allocations: 95.97 kB / 388.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.2431, allocations: 0.5154 MB / 388.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.2432, allocations: 100.3 kB / 388.7 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.458e-05/0.2433, allocations: 56.08 kB / 388.8 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.2446, allocations: 0.7942 MB / 389.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.2446, allocations: 1.25 kB / 389.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.2447, allocations: 25.3 kB / 389.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.2447, allocations: 12.34 kB / 389.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.246, allocations: 0.4995 MB / 390.1 MB, free: 6.016 MB / 318.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.003031/0.249, allocations: 2.148 MB / 392.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.2503, allocations: 0.5368 MB / 392.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.2509, allocations: 260.8 kB / 393 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.251, allocations: 12.52 kB / 393 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007059/0.2517, allocations: 319.4 kB / 393.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 2.875e-06/0.2517, allocations: 0 / 393.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=56): time 0.00496/0.2567, allocations: 1.498 MB / 394.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.2568, allocations: 0.822 MB / 395.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006687/0.2575, allocations: 0.5904 MB / 396.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/0.2576, allocations: 41.19 kB / 396.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.2578, allocations: 330.8 kB / 396.6 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.2579, allocations: 193.8 kB / 396.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.2581, allocations: 131.4 kB / 396.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.2582, allocations: 376.1 kB / 397.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000591/0.2588, allocations: 211.7 kB / 397.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.2596, allocations: 0.5244 MB / 398 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.2607, allocations: 0.5633 MB / 398.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2607, allocations: 0 / 398.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002222/0.263, allocations: 0.9023 MB / 399.5 MB, free: 252 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.263, allocations: 61.06 kB / 399.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.263, allocations: 1.312 kB / 399.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007052/0.2638, allocations: 226 kB / 399.8 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.2644, allocations: 116.3 kB / 399.9 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/0.2709, allocations: 4.594 MB / 404.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008325/0.2718, allocations: 81.94 kB / 404.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.2718, allocations: 29.3 kB / 404.6 MB, free: 12.37 MB / 334.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.0003342/0.2722, allocations: 208.9 kB / 404.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.2723, allocations: 80.89 kB / 404.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.2725, allocations: 77.27 kB / 405 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002149/0.2746, allocations: 1.055 MB / 406 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2746, allocations: 0 / 406 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.2749, allocations: 210.3 kB / 406.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.275, allocations: 22.41 kB / 406.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/0.2756, allocations: 42.39 kB / 406.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2758, allocations: 41.09 kB / 406.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002516/0.2783, allocations: 0.8033 MB / 407.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002013/0.2803, allocations: 0.9843 MB / 408.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000586/0.2809, allocations: 237.3 kB / 408.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004786/0.2814, allocations: 418 kB / 408.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.2814, allocations: 0 / 408.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.2833, allocations: 0.935 MB / 409.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of SimCode: time 0.002195/0.2855, allocations: 1.853 MB / 411.5 MB, free: 7.66 MB / 334.1 MB Notification: Performance of Templates: time 0.02159/0.3071, allocations: 15.06 MB / 426.6 MB, free: 10.92 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1)