Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009937/0.0009938, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2913/0.2913, allocations: 40 MB / 310.4 MB, free: 9.652 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000548/0.0005481, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1039, allocations: 57.95 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV): time 0.2115/0.3155, allocations: 35.04 MB / 471.8 MB, free: 34.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.3287, allocations: 13.97 MB / 485.8 MB, free: 24.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006599/0.3294, allocations: 21 kB / 485.8 MB, free: 24.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009172/0.3303, allocations: 372 kB / 486.2 MB, free: 24.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009388/0.3397, allocations: 3.858 MB / 490 MB, free: 22.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00469/0.3444, allocations: 1.86 MB / 491.9 MB, free: 21.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.3459, allocations: 0.9458 MB / 492.8 MB, free: 20.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005721/0.3465, allocations: 353.7 kB / 493.2 MB, free: 20.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.3477, allocations: 0.6096 MB / 493.8 MB, free: 20.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004434/0.3522, allocations: 3.087 MB / 496.9 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.3523, allocations: 30.06 kB / 496.9 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01545/0.3678, allocations: 7.384 MB / 0.4925 GB, free: 18.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003479/0.3682, allocations: 144.3 kB / 0.4926 GB, free: 18.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003854/0.3686, allocations: 159.4 kB / 0.4928 GB, free: 18.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007881/0.3764, allocations: 3.447 MB / 0.4961 GB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.3765, allocations: 0 / 0.4961 GB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3765, allocations: 0 / 0.4961 GB, free: 17.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.545e-05/0.3765, allocations: 1.312 kB / 0.4961 GB, free: 17.55 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.006042/0.3826, allocations: 1.468 MB / 0.4976 GB, free: 16.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3826, allocations: 9.625 kB / 0.4976 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.3849, allocations: 294.6 kB / 0.4978 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009271/0.3858, allocations: 0.5 MB / 0.4983 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.3859, allocations: 44.91 kB / 0.4984 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.704e-05/0.386, allocations: 58.84 kB / 0.4984 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.3884, allocations: 0.9553 MB / 0.4994 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.3884, allocations: 5.031 kB / 0.4994 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/0.3885, allocations: 27.97 kB / 0.4994 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.3885, allocations: 25.31 kB / 0.4994 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.3908, allocations: 0.8763 MB / 0.5003 GB, free: 15.51 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.004553/0.3953, allocations: 4.675 MB / 0.5048 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.3977, allocations: 0.8396 MB / 0.5057 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04606/0.4438, allocations: 24.44 MB / 0.5295 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.4439, allocations: 38.56 kB / 0.5296 GB, free: 5.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.4439, allocations: 0 / 0.5296 GB, free: 5.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.006657/0.4506, allocations: 1.799 MB / 0.5313 GB, free: 3.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.4507, allocations: 106.8 kB / 0.5314 GB, free: 3.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.4513, allocations: 454 kB / 0.5319 GB, free: 3.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.4513, allocations: 37.7 kB / 0.5319 GB, free: 3.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.4516, allocations: 320 kB / 0.5322 GB, free: 3.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.4517, allocations: 149.9 kB / 0.5323 GB, free: 2.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.4518, allocations: 12 kB / 0.5324 GB, free: 2.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4519, allocations: 362.8 kB / 0.5327 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/0.4525, allocations: 253 kB / 0.5329 GB, free: 2.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/0.4533, allocations: 422 kB / 0.5333 GB, free: 1.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.4539, allocations: 285.2 kB / 0.5336 GB, free: 1.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4539, allocations: 8 kB / 0.5336 GB, free: 1.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002088/0.456, allocations: 0.8719 MB / 0.5345 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007243/0.4567, allocations: 1.92 MB / 0.5363 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.4568, allocations: 8 kB / 0.5364 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.458, allocations: 260.6 kB / 0.5366 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.4584, allocations: 127.8 kB / 0.5367 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.4595, allocations: 0.8098 MB / 0.5375 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.4602, allocations: 107.4 kB / 0.5376 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.4602, allocations: 27.98 kB / 0.5376 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.4602, allocations: 4 kB / 0.5376 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001783/0.462, allocations: 0.7862 MB / 0.5384 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4621, allocations: 4 kB / 0.5384 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008799/0.4629, allocations: 217.1 kB / 0.5386 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.4634, allocations: 127.8 kB / 0.5387 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.4645, allocations: 0.802 MB / 0.5395 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.4651, allocations: 95.53 kB / 0.5396 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.4651, allocations: 31.92 kB / 0.5397 GB, free: 11.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.000375/0.4655, allocations: 277.5 kB / 0.5399 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.4657, allocations: 55.34 kB / 0.54 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.4695, allocations: 3.016 MB / 0.5429 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/0.4695, allocations: 43.92 kB / 0.543 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4696, allocations: 4 kB / 0.543 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.4696, allocations: 3.984 kB / 0.543 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.4711, allocations: 1.451 MB / 0.5444 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.4711, allocations: 3.953 kB / 0.5444 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.4714, allocations: 95.86 kB / 0.5445 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.4727, allocations: 0.6738 MB / 0.5451 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.4728, allocations: 12 kB / 0.5451 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.4742, allocations: 1.249 MB / 0.5464 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4742, allocations: 5.625 kB / 0.5464 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.477, allocations: 1.942 MB / 0.5483 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006337/0.4776, allocations: 326.7 kB / 0.5486 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.4778, allocations: 15.94 kB / 0.5486 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006709/0.4785, allocations: 71.84 kB / 0.5487 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.4787, allocations: 56.44 kB / 0.5487 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.4787, allocations: 23.98 kB / 0.5487 GB, free: 1.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006178/0.4794, allocations: 423 kB / 0.5491 GB, free: 1.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4794, allocations: 0 / 0.5491 GB, free: 1.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006251/0.4856, allocations: 1.304 MB / 0.5504 GB, free: 15.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008831/0.4945, allocations: 1.318 MB / 0.5517 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.4978, allocations: 1.378 MB / 0.5531 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4978, allocations: 0 / 0.5531 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.4989, allocations: 0.8009 MB / 0.5538 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.5006, allocations: 303.3 kB / 0.5541 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.5043, allocations: 2.871 MB / 0.5569 GB, free: 9.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/0.505, allocations: 1.138 MB / 0.558 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001229/0.5062, allocations: 0.7805 MB / 0.5588 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.5064, allocations: 59.42 kB / 0.5589 GB, free: 7.246 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5064, allocations: 0 / 0.5589 GB, free: 7.246 MB / 430.1 MB Notification: Performance of Templates: time 0.06731/0.5737, allocations: 47.35 MB / 0.6051 GB, free: 7.887 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) Environment - environmentSimulation: