Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 112.7 kB / 17.74 MB, free: 5.176 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.001323/0.001323, allocations: 191 kB / 18.67 MB, free: 4.262 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.389/1.389, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2977/0.2977, allocations: 48.83 MB / 320.7 MB, free: 11 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.001604/0.001604, allocations: 64.12 kB / 451.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1101, allocations: 59.17 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.306/0.4161, allocations: 37.09 MB / 0.5346 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01916/0.4353, allocations: 14.83 MB / 0.5491 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.4358, allocations: 8.594 kB / 0.5491 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.4364, allocations: 142.4 kB / 0.5493 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.4369, allocations: 225.7 kB / 0.5495 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02845/0.4654, allocations: 6.495 MB / 0.5558 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.4669, allocations: 0.5938 MB / 0.5564 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005871/0.4675, allocations: 217.8 kB / 0.5566 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006427/0.4682, allocations: 223.7 kB / 0.5568 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005667/0.4688, allocations: 221.3 kB / 0.557 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.615e-05/0.4689, allocations: 29.16 kB / 0.5571 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02306/0.492, allocations: 8.909 MB / 0.5658 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.4922, allocations: 62.33 kB / 0.5658 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004782/0.4927, allocations: 197.1 kB / 0.566 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.5079, allocations: 5.132 MB / 0.571 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5079, allocations: 0 / 0.571 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.5079, allocations: 0 / 0.571 GB, free: 10.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.5079, allocations: 0 / 0.571 GB, free: 10.95 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.005087/0.513, allocations: 1.238 MB / 0.5722 GB, free: 10.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.5131, allocations: 12.86 kB / 0.5722 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003146/0.5134, allocations: 59.45 kB / 0.5723 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.514, allocations: 330.7 kB / 0.5726 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.5141, allocations: 21.09 kB / 0.5726 GB, free: 9.684 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.5141, allocations: 30.23 kB / 0.5727 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.5149, allocations: 325.9 kB / 0.573 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.5149, allocations: 6.172 kB / 0.573 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.515, allocations: 15.31 kB / 0.573 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.515, allocations: 6.656 kB / 0.573 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.5155, allocations: 207.6 kB / 0.5732 GB, free: 9.34 MB / 430.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.00218/0.5177, allocations: 1.473 MB / 0.5746 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.5183, allocations: 183.2 kB / 0.5748 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.5184, allocations: 49.72 kB / 0.5749 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1298/0.6482, allocations: 64.25 MB / 0.6376 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.6483, allocations: 42.5 kB / 0.6377 GB, free: 3.695 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.825e-06/0.6484, allocations: 0 / 0.6377 GB, free: 3.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001327/0.6497, allocations: 391 kB / 0.638 GB, free: 3.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.6497, allocations: 59.41 kB / 0.6381 GB, free: 3.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.6502, allocations: 361.6 kB / 0.6384 GB, free: 2.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.6503, allocations: 29.7 kB / 0.6385 GB, free: 2.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.6504, allocations: 207.9 kB / 0.6387 GB, free: 2.613 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.6505, allocations: 47.27 kB / 0.6387 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.421e-05/0.6506, allocations: 41.7 kB / 0.6387 GB, free: 2.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6507, allocations: 342.8 kB / 0.6391 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.6508, allocations: 43.98 kB / 0.6391 GB, free: 2.133 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.651, allocations: 107.8 kB / 0.6392 GB, free: 2.004 MB / 494.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009941/0.652, allocations: 373.6 kB / 0.6396 GB, free: 1.598 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.652, allocations: 0 / 0.6396 GB, free: 1.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004788/0.6525, allocations: 223.3 kB / 0.6398 GB, free: 1.371 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.6525, allocations: 8 kB / 0.6398 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6525, allocations: 4.219 kB / 0.6398 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.6527, allocations: 32.78 kB / 0.6398 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.6529, allocations: 43.91 kB / 0.6399 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.654, allocations: 1.392 MB / 0.6412 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.6543, allocations: 19.75 kB / 0.6412 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.6543, allocations: 12 kB / 0.6413 GB, free: 15.72 MB / 0.4981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.6545, allocations: 155.7 kB / 0.6414 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.938e-05/0.6546, allocations: 34.75 kB / 0.6414 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008209/0.6554, allocations: 0.6046 MB / 0.642 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6554, allocations: 0 / 0.642 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6555, allocations: 0 / 0.642 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.6556, allocations: 128.4 kB / 0.6422 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.6557, allocations: 0 / 0.6422 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.6559, allocations: 15.98 kB / 0.6422 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.6559, allocations: 7.984 kB / 0.6422 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007403/0.6567, allocations: 413.9 kB / 0.6426 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006822/0.6574, allocations: 0.6017 MB / 0.6432 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001651/0.6575, allocations: 128 kB / 0.6433 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002528/0.6578, allocations: 259.2 kB / 0.6435 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of Backend: time 1.022e-06/0.6578, allocations: 4 kB / 0.6435 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01043/0.6682, allocations: 1.763 MB / 0.6453 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002078/0.6704, allocations: 1.396 MB / 0.6466 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.07259/0.743, allocations: 52.71 MB / 0.6981 GB, free: 5.332 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)