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.001369/0.001369, allocations: 73.25 kB / 21.24 MB, free: 0.5547 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.001395/0.001395, allocations: 159.4 kB / 24.5 MB, free: 3.715 MB / 14.72 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.312/1.312, allocations: 158.6 MB / 186.3 MB, free: 6.207 MB / 174.1 MB " [Timeout remaining time 179] 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.2867/0.2867, allocations: 36.35 MB / 274.9 MB, free: 14.64 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 79.89 kB / 415.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.391, allocations: 62.38 MB / 477.7 MB, free: 43.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.09073/0.4817, allocations: 98.46 MB / 0.5626 GB, free: 8.594 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.4988, allocations: 10.31 MB / 0.5727 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.5, allocations: 27.75 kB / 0.5727 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.502, allocations: 0.5395 MB / 0.5732 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.5038, allocations: 0.6252 MB / 0.5738 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01838/0.5222, allocations: 5.642 MB / 0.5794 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.5252, allocations: 1.657 MB / 0.581 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.5262, allocations: 0.5126 MB / 0.5815 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.5275, allocations: 0.6539 MB / 0.5821 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009258/0.5284, allocations: 0.6028 MB / 0.5827 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.5285, allocations: 67.94 kB / 0.5828 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01355/0.542, allocations: 6.134 MB / 0.5888 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.5424, allocations: 163.3 kB / 0.5889 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005892/0.543, allocations: 358.5 kB / 0.5893 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.5541, allocations: 4.302 MB / 0.5935 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/0.5541, allocations: 0 / 0.5935 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5541, allocations: 0 / 0.5935 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.87e-05/0.5542, allocations: 0 / 0.5935 GB, free: 10.48 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.004969/0.5592, allocations: 1.511 MB / 0.5949 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5592, allocations: 8.031 kB / 0.5949 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.5596, allocations: 112.4 kB / 0.595 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000884/0.5605, allocations: 426.6 kB / 0.5955 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.787e-05/0.5605, allocations: 53.67 kB / 0.5955 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.5606, allocations: 64.38 kB / 0.5956 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.5625, allocations: 0.8062 MB / 0.5964 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.5625, allocations: 7.938 kB / 0.5964 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.5625, allocations: 24 kB / 0.5964 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.5626, allocations: 19.94 kB / 0.5964 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.5642, allocations: 0.5866 MB / 0.597 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/0.5681, allocations: 2.645 MB / 0.5996 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.5696, allocations: 462.9 kB / 0.6 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003989/0.57, allocations: 161.6 kB / 0.6002 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06409/0.6341, allocations: 16.81 MB / 0.6166 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.6341, allocations: 38.56 kB / 0.6166 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/0.6341, allocations: 0 / 0.6166 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.002579/0.6367, allocations: 0.6906 MB / 0.6173 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.6368, allocations: 85.11 kB / 0.6174 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.6373, allocations: 369.9 kB / 0.6177 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.6374, allocations: 33.7 kB / 0.6177 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.6377, allocations: 348.6 kB / 0.6181 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.6379, allocations: 118.9 kB / 0.6182 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.638, allocations: 70.02 kB / 0.6183 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.6383, allocations: 354.7 kB / 0.6186 GB, free: 428 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.6387, allocations: 134.1 kB / 0.6187 GB, free: 292 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.6391, allocations: 201.8 kB / 0.6189 GB, free: 60 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008285/0.6399, allocations: 334.4 kB / 0.6192 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6399, allocations: 4 kB / 0.6192 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001061/0.641, allocations: 414.8 kB / 0.6196 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.641, allocations: 8 kB / 0.6196 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.641, allocations: 3.984 kB / 0.6196 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.641, allocations: 12.19 kB / 0.6197 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.6415, allocations: 87.88 kB / 0.6197 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.6415, allocations: 4 kB / 0.6197 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.6419, allocations: 43.69 kB / 0.6198 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.6419, allocations: 19.94 kB / 0.6198 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004431/0.6424, allocations: 224.7 kB / 0.62 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003209/0.6427, allocations: 188 kB / 0.6202 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005852/0.6433, allocations: 303.6 kB / 0.6205 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.035e-06/0.6433, allocations: 0 / 0.6205 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0008008/0.6441, allocations: 381.1 kB / 0.6209 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.6441, allocations: 4 kB / 0.6209 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.6441, allocations: 4 kB / 0.6209 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/0.6441, allocations: 4 kB / 0.6209 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.6445, allocations: 83.89 kB / 0.6209 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.6445, allocations: 7.938 kB / 0.621 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.6448, allocations: 31.81 kB / 0.621 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.6448, allocations: 16 kB / 0.621 GB, free: 13.81 MB / 0.5294 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.000205/0.645, allocations: 208.5 kB / 0.6212 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.6452, allocations: 55.59 kB / 0.6213 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.6476, allocations: 1.637 MB / 0.6228 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/0.6476, allocations: 23.91 kB / 0.6229 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.6476, allocations: 3.984 kB / 0.6229 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.6476, allocations: 4 kB / 0.6229 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.6488, allocations: 0.8044 MB / 0.6237 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6488, allocations: 4 kB / 0.6237 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.6491, allocations: 67.89 kB / 0.6237 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6491, allocations: 0 / 0.6237 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.6492, allocations: 11.98 kB / 0.6237 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.6492, allocations: 4 kB / 0.6237 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6492, allocations: 3.938 kB / 0.6238 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.6508, allocations: 1 MB / 0.6247 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.651, allocations: 115.2 kB / 0.6248 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/0.6511, allocations: 8 kB / 0.6248 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.6514, allocations: 15.98 kB / 0.6249 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.6515, allocations: 55.75 kB / 0.6249 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.6516, allocations: 12 kB / 0.6249 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003088/0.6519, allocations: 247.2 kB / 0.6252 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6519, allocations: 0 / 0.6252 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003522/0.6554, allocations: 1.091 MB / 0.6262 GB, free: 8.395 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.004946/0.6603, allocations: 0.9808 MB / 0.6272 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.662, allocations: 0.6421 MB / 0.6278 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.662, allocations: 0 / 0.6278 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006578/0.6627, allocations: 348.4 kB / 0.6281 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.6642, allocations: 231.7 kB / 0.6284 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.6678, allocations: 1.631 MB / 0.63 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.6683, allocations: 396.3 kB / 0.6303 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00076/0.6691, allocations: 362.5 kB / 0.6307 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.6692, allocations: 48.48 kB / 0.6307 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of SimCode: time 9.11e-07/0.6692, allocations: 0 / 0.6307 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of Templates: time 0.06675/0.736, allocations: 37.04 MB / 0.6669 GB, free: 14.66 MB / 0.5762 GB " [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=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.732825738028623] Failed to read output from testmodel.py, exit status != 0: 0.746291012968868 0.76150318 0.20397901899999996 Calling exit ...