Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001368/0.001368, allocations: 83.19 kB / 21.28 MB, free: 0.5195 MB / 14.72 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.00147/0.00147, allocations: 159.3 kB / 24.53 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 177.2 MB / 204.9 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1425/0.1425, allocations: 19.72 MB / 281 MB, free: 13.05 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 63.91 kB / 417.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2776, allocations: 60.46 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.1161/0.3938, allocations: 98.15 MB / 0.5627 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.4088, allocations: 10.37 MB / 0.5729 GB, free: 5.41 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006907/0.4095, allocations: 27.75 kB / 0.5729 GB, free: 5.383 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.411, allocations: 0.5356 MB / 0.5734 GB, free: 4.844 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.4121, allocations: 0.6252 MB / 0.574 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01491/0.427, allocations: 5.679 MB / 0.5796 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.4293, allocations: 1.658 MB / 0.5812 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008459/0.4301, allocations: 0.5088 MB / 0.5817 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.4314, allocations: 0.9269 MB / 0.5826 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008227/0.4322, allocations: 0.6144 MB / 0.5832 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.4323, allocations: 64 kB / 0.5832 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/0.4441, allocations: 6.146 MB / 0.5892 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.4444, allocations: 167.3 kB / 0.5894 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.445, allocations: 358.5 kB / 0.5897 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008802/0.4538, allocations: 4.321 MB / 0.594 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4538, allocations: 4 kB / 0.594 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4538, allocations: 0 / 0.594 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.4538, allocations: 0 / 0.594 GB, free: 15.73 MB / 0.4981 GB 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.003944/0.4578, allocations: 1.519 MB / 0.5954 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4578, allocations: 12.03 kB / 0.5955 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000645/0.4584, allocations: 148.3 kB / 0.5956 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/0.4592, allocations: 426.7 kB / 0.596 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.4593, allocations: 49.69 kB / 0.5961 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/0.4594, allocations: 60.38 kB / 0.5961 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.4612, allocations: 0.8178 MB / 0.5969 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.4612, allocations: 8 kB / 0.5969 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.4612, allocations: 27.98 kB / 0.5969 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.4613, allocations: 20 kB / 0.597 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.4628, allocations: 0.5827 MB / 0.5975 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/0.4665, allocations: 2.652 MB / 0.6001 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.468, allocations: 472.8 kB / 0.6006 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.4684, allocations: 161.6 kB / 0.6007 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06376/0.5322, allocations: 17.55 MB / 0.6179 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.5322, allocations: 34.56 kB / 0.6179 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.314e-06/0.5322, allocations: 0 / 0.6179 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.002512/0.5347, allocations: 0.6915 MB / 0.6186 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.5348, allocations: 77.11 kB / 0.6186 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.5352, allocations: 385.9 kB / 0.619 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.5353, allocations: 33.7 kB / 0.619 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.5356, allocations: 356.5 kB / 0.6194 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.5357, allocations: 118.9 kB / 0.6195 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.5358, allocations: 69.97 kB / 0.6196 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.536, allocations: 358.8 kB / 0.6199 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.5364, allocations: 138.1 kB / 0.62 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.5369, allocations: 201.8 kB / 0.6202 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007788/0.5376, allocations: 335.5 kB / 0.6206 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5376, allocations: 4 kB / 0.6206 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001042/0.5387, allocations: 427.8 kB / 0.621 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5387, allocations: 8 kB / 0.621 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5387, allocations: 0 / 0.621 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.5387, allocations: 12.19 kB / 0.621 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.5392, allocations: 87.88 kB / 0.6211 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.5392, allocations: 7.938 kB / 0.6211 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.5395, allocations: 35.83 kB / 0.6211 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.5396, allocations: 15.98 kB / 0.6211 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000409/0.54, allocations: 224.7 kB / 0.6213 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000306/0.5403, allocations: 184 kB / 0.6215 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005534/0.5408, allocations: 310.7 kB / 0.6218 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.5408, allocations: 0 / 0.6218 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007386/0.5416, allocations: 373.2 kB / 0.6222 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.5416, allocations: 4 kB / 0.6222 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.5416, allocations: 4 kB / 0.6222 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.5416, allocations: 7.938 kB / 0.6222 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.5419, allocations: 91.81 kB / 0.6223 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.5419, allocations: 7.938 kB / 0.6223 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.5422, allocations: 31.83 kB / 0.6223 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.5422, allocations: 16 kB / 0.6223 GB, free: 2.215 MB / 0.5137 GB 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.0002062/0.5424, allocations: 210.3 kB / 0.6225 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.5425, allocations: 47.72 kB / 0.6226 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.5448, allocations: 1.639 MB / 0.6242 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.5448, allocations: 27.91 kB / 0.6242 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5448, allocations: 0 / 0.6242 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5448, allocations: 3.984 kB / 0.6242 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.5459, allocations: 0.8121 MB / 0.625 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5459, allocations: 0 / 0.625 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.5463, allocations: 71.89 kB / 0.6251 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.5463, allocations: 0 / 0.6251 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.5463, allocations: 11.98 kB / 0.6251 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5463, allocations: 7.938 kB / 0.6251 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.5463, allocations: 7.938 kB / 0.6251 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.5478, allocations: 1.004 MB / 0.6261 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.548, allocations: 115.2 kB / 0.6262 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.548, allocations: 12 kB / 0.6262 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.5483, allocations: 15.98 kB / 0.6262 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.5485, allocations: 43.88 kB / 0.6262 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.5485, allocations: 15.98 kB / 0.6263 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002984/0.5488, allocations: 255.1 kB / 0.6265 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5488, allocations: 0 / 0.6265 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002872/0.5517, allocations: 1.107 MB / 0.6276 GB, free: 12.76 MB / 0.5294 GB 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.003628/0.5553, allocations: 0.9854 MB / 0.6285 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.5568, allocations: 0.6421 MB / 0.6292 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5568, allocations: 0 / 0.6292 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.5575, allocations: 341 kB / 0.6295 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.5588, allocations: 239.8 kB / 0.6297 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.5621, allocations: 1.646 MB / 0.6313 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.5625, allocations: 392.4 kB / 0.6317 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007239/0.5632, allocations: 370.6 kB / 0.6321 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.5634, allocations: 44.5 kB / 0.6321 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of SimCode: time 7.42e-07/0.5634, allocations: 0 / 0.6321 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of Templates: time 0.2538/0.8172, allocations: 37.15 MB / 0.6684 GB, free: 142.9 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.441422807984054] Failed to read output from testmodel.py, exit status != 0: 0.8259142460301518 0.834229239 0.37811344300000005 Calling exit ...