Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 110.9 kB / 17.75 MB, free: 5.293 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.001011/0.001011, allocations: 190.6 kB / 18.67 MB, free: 4.375 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.235/1.235, 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.2504/0.2504, allocations: 48.85 MB / 320.8 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.001347/0.001347, allocations: 71.91 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09759, allocations: 59.18 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.2874/0.385, allocations: 109.9 MB / 0.6057 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.3991, allocations: 11.7 MB / 0.6172 GB, free: 68 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009072/0.4, allocations: 21.38 kB / 0.6172 GB, free: 60 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.4017, allocations: 0.582 MB / 0.6178 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.4033, allocations: 0.6677 MB / 0.6184 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01322/0.4165, allocations: 5.724 MB / 0.624 GB, free: 9.387 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.4187, allocations: 1.864 MB / 0.6258 GB, free: 7.516 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.4198, allocations: 0.7044 MB / 0.6265 GB, free: 6.801 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.4209, allocations: 0.7239 MB / 0.6272 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009918/0.4219, allocations: 0.7002 MB / 0.6279 GB, free: 5.371 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.4221, allocations: 80 kB / 0.628 GB, free: 5.293 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.4331, allocations: 6.444 MB / 0.6343 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.4333, allocations: 183.3 kB / 0.6344 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006138/0.4339, allocations: 0.4899 MB / 0.6349 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006861/0.4408, allocations: 4.428 MB / 0.6392 GB, free: 9.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4408, allocations: 4 kB / 0.6392 GB, free: 9.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4408, allocations: 3.984 kB / 0.6393 GB, free: 9.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.4408, allocations: 0 / 0.6393 GB, free: 9.727 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004546/0.4454, allocations: 1.855 MB / 0.6411 GB, free: 7.797 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4454, allocations: 11.89 kB / 0.6411 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003698/0.4458, allocations: 123.8 kB / 0.6412 GB, free: 7.664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.4466, allocations: 0.5305 MB / 0.6417 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.4466, allocations: 58.36 kB / 0.6418 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4467, allocations: 68.56 kB / 0.6418 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.449, allocations: 0.9718 MB / 0.6428 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.449, allocations: 3.984 kB / 0.6428 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.4491, allocations: 32 kB / 0.6428 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.4491, allocations: 20 kB / 0.6428 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.4516, allocations: 0.7894 MB / 0.6436 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004432/0.4561, allocations: 4.679 MB / 0.6482 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.4585, allocations: 0.7152 MB / 0.6489 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000928/0.4595, allocations: 293.5 kB / 0.6492 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06386/0.5233, allocations: 32.13 MB / 0.6805 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/0.525, allocations: 0.515 MB / 0.681 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 2.965e-06/0.525, allocations: 3.938 kB / 0.681 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.003881/0.5289, allocations: 1.066 MB / 0.6821 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.529, allocations: 93.11 kB / 0.6822 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006327/0.5296, allocations: 0.5666 MB / 0.6827 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.5297, allocations: 33.7 kB / 0.6827 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.53, allocations: 364.4 kB / 0.6831 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.5301, allocations: 142 kB / 0.6832 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.5303, allocations: 94.23 kB / 0.6833 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5304, allocations: 382.7 kB / 0.6837 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009379/0.5314, allocations: 266.9 kB / 0.6839 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009683/0.5323, allocations: 371.6 kB / 0.6843 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.5342, allocations: 0.6689 MB / 0.6849 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.5342, allocations: 4 kB / 0.685 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00221/0.5364, allocations: 0.8502 MB / 0.6858 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.341e-05/0.5365, allocations: 119 kB / 0.6859 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.5365, allocations: 15.92 kB / 0.6859 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5365, allocations: 4 kB / 0.6859 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.5372, allocations: 131.8 kB / 0.686 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.5372, allocations: 8 kB / 0.686 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/0.5379, allocations: 115.3 kB / 0.6862 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.538, allocations: 27.98 kB / 0.6862 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009844/0.539, allocations: 377 kB / 0.6865 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008816/0.5399, allocations: 345.3 kB / 0.6869 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001649/0.5415, allocations: 0.6506 MB / 0.6875 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/0.5415, allocations: 4 kB / 0.6875 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.002043/0.5436, allocations: 0.8152 MB / 0.6883 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/0.5437, allocations: 118.8 kB / 0.6884 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5437, allocations: 4 kB / 0.6884 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.485e-06/0.5437, allocations: 4 kB / 0.6884 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.5443, allocations: 136.1 kB / 0.6886 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.5443, allocations: 11.98 kB / 0.6886 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.545, allocations: 99.44 kB / 0.6887 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.545, allocations: 27.94 kB / 0.6887 GB, free: 2.219 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 (Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition3,$whenCondition4,Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition1,$whenCondition2,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.5452, allocations: 230.1 kB / 0.6889 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/0.5453, allocations: 63.25 kB / 0.689 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/0.5483, allocations: 1.825 MB / 0.6908 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.5483, allocations: 7.984 kB / 0.6908 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5483, allocations: 0 / 0.6908 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.5486, allocations: 223.5 kB / 0.691 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.5487, allocations: 11.94 kB / 0.691 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/0.5493, allocations: 71.89 kB / 0.6911 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.5495, allocations: 83.89 kB / 0.6911 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00288/0.5524, allocations: 1.272 MB / 0.6924 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002375/0.5548, allocations: 1.311 MB / 0.6937 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001141/0.5559, allocations: 0.5359 MB / 0.6942 GB, free: 12.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003838/0.5563, allocations: 391.1 kB / 0.6946 GB, free: 12.15 MB / 0.545 GB Notification: Performance of Backend: time 8.22e-07/0.5563, allocations: 0 / 0.6946 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007172/0.5635, allocations: 2.37 MB / 0.6969 GB, free: 9.676 MB / 0.545 GB Notification: Performance of SimCode: time 0.002809/0.5663, allocations: 1.931 MB / 0.6988 GB, free: 7.699 MB / 0.545 GB Notification: Performance of Templates: time 0.06253/0.6289, allocations: 47.15 MB / 0.7448 GB, free: 8.477 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1)