Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 161.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 158.6 MB / 186.1 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2734/0.2734, allocations: 36.33 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.293e-05, allocations: 5.688 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3043/0.3043, allocations: 110.3 MB / 463.4 MB, free: 17.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.3173, allocations: 11.46 MB / 474.9 MB, free: 17.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.3184, allocations: 28 kB / 474.9 MB, free: 17.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.32, allocations: 0.5323 MB / 475.4 MB, free: 16.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.3215, allocations: 0.6532 MB / 476.1 MB, free: 16.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0136/0.3351, allocations: 5.715 MB / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.337, allocations: 1.714 MB / 483.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007146/0.3377, allocations: 0.5276 MB / 484 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009935/0.3387, allocations: 0.9002 MB / 484.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006261/0.3394, allocations: 0.5425 MB / 485.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.909e-05/0.3394, allocations: 65.28 kB / 485.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.3496, allocations: 6.146 MB / 491.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.3498, allocations: 164.5 kB / 491.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004513/0.3503, allocations: 302.9 kB / 492.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009981/0.3603, allocations: 5.293 MB / 497.4 MB, free: 9.094 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3603, allocations: 4 kB / 497.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3603, allocations: 0 / 497.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.3603, allocations: 0 / 497.4 MB, free: 9.09 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003465/0.3638, allocations: 1.631 MB / 499.1 MB, free: 7.434 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3638, allocations: 8.031 kB / 499.1 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.3642, allocations: 192.2 kB / 499.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.3648, allocations: 449.4 kB / 499.7 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.3648, allocations: 49.69 kB / 499.8 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.3649, allocations: 60.38 kB / 499.8 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.3662, allocations: 0.8834 MB / 0.489 GB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3662, allocations: 4.375 kB / 0.489 GB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.3662, allocations: 31.94 kB / 0.489 GB, free: 5.715 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3663, allocations: 16 kB / 0.489 GB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.3674, allocations: 0.5827 MB / 0.4896 GB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.3702, allocations: 3.507 MB / 0.493 GB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.3713, allocations: 498.1 kB / 0.4935 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.3715, allocations: 175.5 kB / 0.4937 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06533/0.4369, allocations: 16.79 MB / 0.5101 GB, free: 104 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.4369, allocations: 41.39 kB / 0.5101 GB, free: 52 kB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.4369, allocations: 0 / 0.5101 GB, free: 52 kB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.00241/0.4393, allocations: 0.7333 MB / 0.5108 GB, free: 15.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.4394, allocations: 81.11 kB / 0.5109 GB, free: 15.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/0.44, allocations: 490.6 kB / 0.5114 GB, free: 14.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.44, allocations: 29.7 kB / 0.5114 GB, free: 14.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.4404, allocations: 415.3 kB / 0.5118 GB, free: 14.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.4405, allocations: 118.8 kB / 0.5119 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.4407, allocations: 89.97 kB / 0.512 GB, free: 14.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003337/0.441, allocations: 0.5469 MB / 0.5125 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.4414, allocations: 132.9 kB / 0.5126 GB, free: 13.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.4418, allocations: 234.1 kB / 0.5129 GB, free: 13.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/0.4426, allocations: 363.2 kB / 0.5132 GB, free: 12.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4426, allocations: 4 kB / 0.5132 GB, free: 12.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009866/0.4436, allocations: 419.9 kB / 0.5136 GB, free: 12.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4436, allocations: 8 kB / 0.5136 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.4436, allocations: 3.984 kB / 0.5136 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.4436, allocations: 4 kB / 0.5136 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.4441, allocations: 90.42 kB / 0.5137 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.4441, allocations: 8 kB / 0.5137 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.4444, allocations: 35.7 kB / 0.5138 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.4444, allocations: 16 kB / 0.5138 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004287/0.4449, allocations: 263.5 kB / 0.514 GB, free: 11.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003512/0.4452, allocations: 227.8 kB / 0.5142 GB, free: 11.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005928/0.4458, allocations: 328.1 kB / 0.5146 GB, free: 11.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.4458, allocations: 0 / 0.5146 GB, free: 11.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007439/0.4465, allocations: 371.8 kB / 0.5149 GB, free: 10.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.4466, allocations: 4 kB / 0.5149 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4466, allocations: 4 kB / 0.5149 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.4466, allocations: 4 kB / 0.5149 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.4469, allocations: 82.05 kB / 0.515 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4469, allocations: 7.625 kB / 0.515 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.4471, allocations: 39.83 kB / 0.515 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.4471, allocations: 16 kB / 0.5151 GB, free: 10.76 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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.0004801/0.4476, allocations: 290.7 kB / 0.5153 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.4477, allocations: 59.67 kB / 0.5154 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.4495, allocations: 1.043 MB / 0.5164 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/0.4495, allocations: 19.97 kB / 0.5164 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4495, allocations: 2.938 kB / 0.5164 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.4495, allocations: 3.984 kB / 0.5164 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.4506, allocations: 0.7413 MB / 0.5172 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4506, allocations: 0 / 0.5172 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.451, allocations: 63.33 kB / 0.5172 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.451, allocations: 0 / 0.5172 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.451, allocations: 12 kB / 0.5172 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.451, allocations: 0 / 0.5172 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.451, allocations: 7.938 kB / 0.5172 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4524, allocations: 0.9379 MB / 0.5182 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.4526, allocations: 119.2 kB / 0.5183 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.4527, allocations: 4 kB / 0.5183 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.4529, allocations: 12 kB / 0.5183 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.4531, allocations: 47.92 kB / 0.5183 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.4531, allocations: 15.98 kB / 0.5183 GB, free: 7.348 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003407/0.4534, allocations: 307.1 kB / 0.5186 GB, free: 7.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4534, allocations: 0 / 0.5186 GB, free: 7.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003079/0.4565, allocations: 1.099 MB / 0.5197 GB, free: 5.949 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003679/0.4602, allocations: 1.107 MB / 0.5208 GB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.4616, allocations: 0.5557 MB / 0.5213 GB, free: 4.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4616, allocations: 4.125 kB / 0.5213 GB, free: 4.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.4621, allocations: 284.1 kB / 0.5216 GB, free: 4.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.4636, allocations: 243.2 kB / 0.5218 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.4669, allocations: 1.522 MB / 0.5233 GB, free: 2.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.4674, allocations: 392.4 kB / 0.5237 GB, free: 1.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006963/0.4681, allocations: 374.5 kB / 0.5241 GB, free: 1.488 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.4682, allocations: 48.5 kB / 0.5241 GB, free: 1.441 MB / 394.7 MB Notification: Performance of SimCode: time 1.412e-06/0.4682, allocations: 0 / 0.5241 GB, free: 1.441 MB / 394.7 MB Notification: Performance of Templates: time 0.06559/0.5338, allocations: 37.85 MB / 0.5611 GB, free: 11.55 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.672128999023698]