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.001158/0.001158, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001253/0.001253, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.578/1.578, allocations: 205.1 MB / 224.6 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3179/0.3179, allocations: 48.83 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.001555/0.001555, allocations: 59.91 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1306, allocations: 59.17 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.3645/0.4951, allocations: 45.38 MB / 0.5427 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.5102, allocations: 11.57 MB / 0.554 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.5114, allocations: 16.94 kB / 0.554 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.5128, allocations: 340.3 kB / 0.5544 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.515, allocations: 0.6405 MB / 0.555 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01608/0.5311, allocations: 4.215 MB / 0.5591 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003968/0.5351, allocations: 1.792 MB / 0.5609 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.5362, allocations: 0.5051 MB / 0.5614 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.5378, allocations: 0.6627 MB / 0.562 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.539, allocations: 0.7145 MB / 0.5627 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.5391, allocations: 67.66 kB / 0.5628 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.5556, allocations: 6.33 MB / 0.5689 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007649/0.5564, allocations: 314.9 kB / 0.5692 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.5574, allocations: 477.2 kB / 0.5697 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01595/0.5734, allocations: 4.334 MB / 0.5739 GB, free: 8.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.5734, allocations: 0 / 0.5739 GB, free: 8.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5735, allocations: 0 / 0.5739 GB, free: 8.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.5735, allocations: 0 / 0.5739 GB, free: 8.016 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.006127/0.5796, allocations: 1.672 MB / 0.5756 GB, free: 6.848 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.5797, allocations: 13.58 kB / 0.5756 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.5808, allocations: 200.1 kB / 0.5758 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.582, allocations: 0.5897 MB / 0.5763 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.5821, allocations: 63.73 kB / 0.5764 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.5822, allocations: 73 kB / 0.5765 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004394/0.5866, allocations: 1.728 MB / 0.5782 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.5866, allocations: 0 / 0.5782 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.962e-05/0.5867, allocations: 28.31 kB / 0.5782 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-05/0.5868, allocations: 36.11 kB / 0.5782 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004169/0.591, allocations: 1.642 MB / 0.5798 GB, free: 4.281 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.005008/0.596, allocations: 3.654 MB / 0.5834 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/0.5993, allocations: 1.183 MB / 0.5845 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.5997, allocations: 290.5 kB / 0.5848 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.139/0.7388, allocations: 64.25 MB / 0.6476 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.905e-05/0.7389, allocations: 39.12 kB / 0.6476 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=56): time 3.476e-06/0.7389, allocations: 0 / 0.6476 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.007592/0.7465, allocations: 2.102 MB / 0.6497 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.7465, allocations: 55.97 kB / 0.6497 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008141/0.7474, allocations: 0.5224 MB / 0.6502 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.7475, allocations: 37.7 kB / 0.6503 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.7478, allocations: 363.9 kB / 0.6506 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.7481, allocations: 205.1 kB / 0.6508 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004319/0.7486, allocations: 230.1 kB / 0.651 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7487, allocations: 374.8 kB / 0.6514 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009197/0.7497, allocations: 0.5109 MB / 0.6519 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.7507, allocations: 0.6582 MB / 0.6525 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.7527, allocations: 1.11 MB / 0.6536 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.7527, allocations: 0 / 0.6536 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003846/0.7565, allocations: 1.87 MB / 0.6554 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7566, allocations: 4 kB / 0.6554 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.7566, allocations: 4 kB / 0.6554 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004574/0.7612, allocations: 1.617 MB / 0.657 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.7615, allocations: 73.02 kB / 0.6571 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/0.7652, allocations: 2.191 MB / 0.6592 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000909/0.7661, allocations: 59.42 kB / 0.6593 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.7663, allocations: 75.92 kB / 0.6594 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001253/0.7676, allocations: 0.701 MB / 0.66 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001017/0.7686, allocations: 0.6523 MB / 0.6607 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001832/0.7704, allocations: 1.104 MB / 0.6618 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.542e-06/0.7705, allocations: 0 / 0.6618 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.003641/0.7741, allocations: 1.841 MB / 0.6636 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.7741, allocations: 8 kB / 0.6636 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.7741, allocations: 4 kB / 0.6636 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003484/0.7776, allocations: 1.492 MB / 0.665 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.7779, allocations: 71.84 kB / 0.6651 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/0.7814, allocations: 2.136 MB / 0.6672 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009565/0.7824, allocations: 67.44 kB / 0.6672 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.7826, allocations: 75.92 kB / 0.6673 GB, free: 4.656 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.0004386/0.783, allocations: 212.1 kB / 0.6675 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.7834, allocations: 67.25 kB / 0.6676 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008288/0.7917, allocations: 7.924 MB / 0.6753 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.7917, allocations: 7.984 kB / 0.6753 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7917, allocations: 0 / 0.6753 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000465/0.7922, allocations: 215.8 kB / 0.6755 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.7924, allocations: 16 kB / 0.6755 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/0.7933, allocations: 87.8 kB / 0.6756 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.7934, allocations: 36.5 kB / 0.6757 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002881/0.7963, allocations: 1.267 MB / 0.6769 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002649/0.799, allocations: 1.845 MB / 0.6787 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007647/0.7998, allocations: 0.5399 MB / 0.6792 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004767/0.8003, allocations: 362.8 kB / 0.6796 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of Backend: time 3.11e-07/0.8003, allocations: 0 / 0.6796 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01089/0.8112, allocations: 2.741 MB / 0.6823 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003876/0.8151, allocations: 2.24 MB / 0.6844 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of Templates: time 0.1025/0.9176, allocations: 66.26 MB / 0.7491 GB, free: 476 kB / 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)