Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.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.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") translateModel(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.00131, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001217/0.001217, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.272/1.272, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2575/0.2575, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.00136/0.00136, allocations: 60.47 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1024, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.2465/0.3489, allocations: 45.38 MB / 0.5427 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.361, allocations: 11.57 MB / 0.554 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006451/0.3617, allocations: 17.81 kB / 0.554 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008551/0.3626, allocations: 336 kB / 0.5544 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.3639, allocations: 0.6403 MB / 0.555 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01192/0.3758, allocations: 4.22 MB / 0.5591 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.3783, allocations: 1.784 MB / 0.5608 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.3791, allocations: 0.5143 MB / 0.5614 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008922/0.38, allocations: 0.6613 MB / 0.562 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008264/0.3808, allocations: 0.7118 MB / 0.5627 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.3809, allocations: 67.81 kB / 0.5628 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/0.3941, allocations: 6.326 MB / 0.5689 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.3946, allocations: 314.5 kB / 0.5692 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007351/0.3953, allocations: 481.5 kB / 0.5697 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00963/0.405, allocations: 4.333 MB / 0.5739 GB, free: 8.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.405, allocations: 1.375 kB / 0.5739 GB, free: 8.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.405, allocations: 0 / 0.5739 GB, free: 8.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.4051, allocations: 0 / 0.5739 GB, free: 8.047 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005111/0.4102, allocations: 1.668 MB / 0.5756 GB, free: 6.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4102, allocations: 12.2 kB / 0.5756 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.4113, allocations: 209.9 kB / 0.5758 GB, free: 6.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.4124, allocations: 0.5857 MB / 0.5763 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.4125, allocations: 50.88 kB / 0.5764 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.4126, allocations: 76.7 kB / 0.5765 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003989/0.4166, allocations: 1.725 MB / 0.5781 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.4166, allocations: 2.344 kB / 0.5781 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/0.4167, allocations: 33.97 kB / 0.5782 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/0.4168, allocations: 29.66 kB / 0.5782 GB, free: 5.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/0.4206, allocations: 1.64 MB / 0.5798 GB, free: 4.324 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.004666/0.4253, allocations: 3.661 MB / 0.5834 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.4284, allocations: 1.195 MB / 0.5846 GB, free: 452 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/0.4289, allocations: 294.3 kB / 0.5848 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1309/0.5598, allocations: 64.23 MB / 0.6476 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.5598, allocations: 39.12 kB / 0.6476 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=56): time 3.847e-06/0.5598, allocations: 7.938 kB / 0.6476 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.007251/0.5671, allocations: 2.11 MB / 0.6497 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.5672, allocations: 63.91 kB / 0.6497 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/0.5679, allocations: 0.5185 MB / 0.6502 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.5681, allocations: 33.7 kB / 0.6503 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.5684, allocations: 352 kB / 0.6506 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.5686, allocations: 205.1 kB / 0.6508 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/0.5691, allocations: 238.1 kB / 0.651 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5692, allocations: 366.8 kB / 0.6514 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008729/0.5701, allocations: 0.5187 MB / 0.6519 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.5711, allocations: 0.6428 MB / 0.6525 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.5729, allocations: 1.11 MB / 0.6536 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.573, allocations: 8 kB / 0.6536 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00362/0.5766, allocations: 1.87 MB / 0.6554 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5766, allocations: 11.91 kB / 0.6554 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.5766, allocations: 4 kB / 0.6554 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/0.5812, allocations: 1.615 MB / 0.657 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.5815, allocations: 63.89 kB / 0.6571 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.5851, allocations: 2.203 MB / 0.6592 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008686/0.586, allocations: 63.47 kB / 0.6593 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.5862, allocations: 73.05 kB / 0.6594 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001219/0.5874, allocations: 0.697 MB / 0.66 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009689/0.5884, allocations: 0.6523 MB / 0.6607 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00183/0.5902, allocations: 1.104 MB / 0.6618 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.5902, allocations: 0 / 0.6618 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.003355/0.5936, allocations: 1.838 MB / 0.6635 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.5936, allocations: 4 kB / 0.6636 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.5936, allocations: 4 kB / 0.6636 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003347/0.597, allocations: 1.496 MB / 0.665 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.5973, allocations: 67.91 kB / 0.6651 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.6009, allocations: 2.136 MB / 0.6672 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.6018, allocations: 71.48 kB / 0.6672 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.6019, allocations: 71.92 kB / 0.6673 GB, free: 4.707 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0004101/0.6024, allocations: 212.2 kB / 0.6675 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.6027, allocations: 63.25 kB / 0.6676 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008264/0.611, allocations: 7.932 MB / 0.6753 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.611, allocations: 3.984 kB / 0.6753 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.611, allocations: 3.938 kB / 0.6753 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005312/0.6115, allocations: 219.8 kB / 0.6755 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.6118, allocations: 12 kB / 0.6755 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008858/0.6127, allocations: 79.86 kB / 0.6756 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.6128, allocations: 44.58 kB / 0.6757 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002869/0.6157, allocations: 1.275 MB / 0.6769 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002509/0.6182, allocations: 1.837 MB / 0.6787 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007445/0.619, allocations: 0.5359 MB / 0.6792 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005394/0.6195, allocations: 362.8 kB / 0.6796 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of Backend: time 3.11e-07/0.6196, allocations: 0 / 0.6796 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01065/0.6302, allocations: 2.751 MB / 0.6823 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003518/0.6338, allocations: 2.221 MB / 0.6844 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of Templates: time 0.0899/0.7237, allocations: 66.27 MB / 0.7491 GB, free: 0.5117 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe 2>&1)