Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 95.8 kB / 16.3 MB, free: 5.527 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.001779/0.001779, allocations: 185 kB / 17.2 MB, free: 5.461 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.796/1.796, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2867/0.2867, allocations: 48.77 MB / 320.4 MB, free: 11.33 MB / 270.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.0005328/0.0005329, allocations: 14.66 kB / 391.1 MB, free: 50.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.114, allocations: 60.27 MB / 451.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.0296/0.1436, allocations: 29.26 MB / 480.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009273/0.153, allocations: 7.484 MB / 488.1 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.1534, allocations: 15.88 kB / 488.1 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.1539, allocations: 99.45 kB / 488.2 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006821/0.1545, allocations: 247.3 kB / 488.5 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009561/0.1641, allocations: 3.444 MB / 491.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007047/0.1648, allocations: 395.7 kB / 492.3 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.1652, allocations: 188.7 kB / 492.5 MB, free: 392 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.1663, allocations: 0.7097 MB / 493.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.1667, allocations: 311 kB / 493.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.1668, allocations: 12 kB / 493.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.177, allocations: 6.071 MB / 499.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1772, allocations: 51.77 kB / 499.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1774, allocations: 85.52 kB / 499.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005224/0.1826, allocations: 2.429 MB / 0.4904 GB, free: 6.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1826, allocations: 0 / 0.4904 GB, free: 6.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1827, allocations: 0 / 0.4904 GB, free: 6.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1827, allocations: 4 kB / 0.4904 GB, free: 6.699 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002825/0.1855, allocations: 0.9991 MB / 0.4914 GB, free: 5.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1856, allocations: 8.031 kB / 0.4914 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.1858, allocations: 43.53 kB / 0.4914 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.1862, allocations: 298.3 kB / 0.4917 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.813e-05/0.1863, allocations: 46.27 kB / 0.4917 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.1863, allocations: 27.98 kB / 0.4918 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007693/0.1871, allocations: 341.2 kB / 0.4921 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1871, allocations: 0 / 0.4921 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.1872, allocations: 19.89 kB / 0.4921 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.1872, allocations: 11.98 kB / 0.4921 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007855/0.188, allocations: 298 kB / 0.4924 GB, free: 4.516 MB / 382.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.001593/0.1896, allocations: 1.423 MB / 0.4938 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.1902, allocations: 222.6 kB / 0.494 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2772/0.4674, allocations: 32.42 MB / 0.5257 GB, free: 86.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.4675, allocations: 34.56 kB / 0.5257 GB, free: 86.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 2.645e-06/0.4675, allocations: 1.938 kB / 0.5257 GB, free: 86.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002735/0.4702, allocations: 0.7053 MB / 0.5264 GB, free: 85.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.4703, allocations: 57.55 kB / 0.5265 GB, free: 85.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.4706, allocations: 274 kB / 0.5267 GB, free: 85.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4706, allocations: 33.08 kB / 0.5268 GB, free: 85.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.4707, allocations: 177 kB / 0.5269 GB, free: 85.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.4708, allocations: 68.33 kB / 0.527 GB, free: 85.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/0.4708, allocations: 2.688 kB / 0.527 GB, free: 85.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.4709, allocations: 348.3 kB / 0.5273 GB, free: 85.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.4712, allocations: 104 kB / 0.5274 GB, free: 85.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.4715, allocations: 143.2 kB / 0.5276 GB, free: 85.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.4718, allocations: 115.2 kB / 0.5277 GB, free: 85.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4718, allocations: 0 / 0.5277 GB, free: 85.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001041/0.4729, allocations: 391.5 kB / 0.528 GB, free: 85.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.104e-05/0.473, allocations: 365.8 kB / 0.5284 GB, free: 84.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.473, allocations: 1.25 kB / 0.5284 GB, free: 84.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005317/0.4735, allocations: 99.03 kB / 0.5285 GB, free: 84.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.4738, allocations: 60.23 kB / 0.5285 GB, free: 84.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004748/0.4743, allocations: 0.6412 MB / 0.5292 GB, free: 84.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.4746, allocations: 53.91 kB / 0.5292 GB, free: 84.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.4747, allocations: 9.797 kB / 0.5292 GB, free: 84.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.4747, allocations: 5.031 kB / 0.5292 GB, free: 84.27 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008645/0.4755, allocations: 316.6 kB / 0.5295 GB, free: 84.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.4756, allocations: 1.031 kB / 0.5295 GB, free: 84.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.4758, allocations: 60.36 kB / 0.5296 GB, free: 84.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.476, allocations: 66.88 kB / 0.5297 GB, free: 84.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.4778, allocations: 1.66 MB / 0.5313 GB, free: 82.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.4781, allocations: 53.75 kB / 0.5313 GB, free: 82.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.4781, allocations: 9.562 kB / 0.5313 GB, free: 82.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.4783, allocations: 213.8 kB / 0.5315 GB, free: 82.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.4784, allocations: 34.05 kB / 0.5316 GB, free: 82.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.4799, allocations: 0.6457 MB / 0.5322 GB, free: 82.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.48, allocations: 5.219 kB / 0.5322 GB, free: 82.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.48, allocations: 7.797 kB / 0.5322 GB, free: 82.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.48, allocations: 3.578 kB / 0.5322 GB, free: 82.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.4805, allocations: 402.6 kB / 0.5326 GB, free: 82.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4805, allocations: 7.844 kB / 0.5326 GB, free: 82.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.4808, allocations: 50.81 kB / 0.5327 GB, free: 82.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006277/0.4814, allocations: 356.5 kB / 0.533 GB, free: 82.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.4815, allocations: 6.828 kB / 0.533 GB, free: 82.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006625/0.4821, allocations: 0.8519 MB / 0.5338 GB, free: 81.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4822, allocations: 0 / 0.5338 GB, free: 81.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.4837, allocations: 0.8677 MB / 0.5347 GB, free: 81.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.4839, allocations: 130.8 kB / 0.5348 GB, free: 81.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.4839, allocations: 9.203 kB / 0.5348 GB, free: 81.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.4842, allocations: 41.48 kB / 0.5349 GB, free: 81.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.4843, allocations: 19.5 kB / 0.5349 GB, free: 81.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.4843, allocations: 6.5 kB / 0.5349 GB, free: 81.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.4845, allocations: 196.7 kB / 0.5351 GB, free: 81.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4845, allocations: 0 / 0.5351 GB, free: 81.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003207/0.4877, allocations: 0.9153 MB / 0.536 GB, free: 81.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.003915/0.4917, allocations: 0.9731 MB / 0.5369 GB, free: 80.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.4934, allocations: 0.5844 MB / 0.5375 GB, free: 80.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4934, allocations: 0.9062 kB / 0.5375 GB, free: 80.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000555/0.4939, allocations: 214.7 kB / 0.5377 GB, free: 80.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008034/0.4948, allocations: 140 kB / 0.5378 GB, free: 80.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.4961, allocations: 0.894 MB / 0.5387 GB, free: 80.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.4964, allocations: 0.7952 MB / 0.5395 GB, free: 79.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002762/0.4967, allocations: 76.09 kB / 0.5395 GB, free: 79.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.4968, allocations: 24.95 kB / 0.5396 GB, free: 79.28 MB / 414.1 MB Notification: Performance of SimCode: time 2.194e-06/0.4968, allocations: 4 kB / 0.5396 GB, free: 79.28 MB / 414.1 MB Notification: Performance of Templates: time 0.03963/0.5364, allocations: 33.91 MB / 0.5727 GB, free: 53.59 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) Environment - environmentSimulation: