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.001769/0.001769, allocations: 79.5 kB / 21.27 MB, free: 388 kB / 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.001914/0.001914, allocations: 163 kB / 24.53 MB, free: 3.59 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 2.301/2.301, allocations: 177.2 MB / 204.9 MB, free: 9.293 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.2263/0.2263, allocations: 19.71 MB / 281 MB, free: 13.06 MB / 270.1 MB " [Timeout remaining time 179] 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.007771/0.007771, allocations: 79.88 kB / 417.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4291, allocations: 60.44 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.204/0.6331, allocations: 98.16 MB / 0.5627 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01988/0.6529, allocations: 10.38 MB / 0.5729 GB, free: 5.406 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.654, allocations: 27.75 kB / 0.5729 GB, free: 5.379 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.6561, allocations: 0.5317 MB / 0.5734 GB, free: 4.844 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.6581, allocations: 0.6291 MB / 0.574 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02072/0.6789, allocations: 5.675 MB / 0.5796 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003207/0.6821, allocations: 1.658 MB / 0.5812 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.6836, allocations: 0.5166 MB / 0.5817 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.6857, allocations: 0.923 MB / 0.5826 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.6868, allocations: 0.6028 MB / 0.5832 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.6869, allocations: 68 kB / 0.5832 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01733/0.7043, allocations: 6.154 MB / 0.5892 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.7046, allocations: 167.3 kB / 0.5894 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006854/0.7053, allocations: 358.5 kB / 0.5897 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.7187, allocations: 4.321 MB / 0.594 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.7187, allocations: 0 / 0.594 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7187, allocations: 0 / 0.594 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.7187, 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.006394/0.7251, allocations: 1.519 MB / 0.5954 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.7252, allocations: 12.03 kB / 0.5955 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.7264, allocations: 144.4 kB / 0.5956 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.7277, allocations: 434.7 kB / 0.596 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.7278, allocations: 45.69 kB / 0.5961 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.7279, allocations: 64.38 kB / 0.5961 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.731, allocations: 0.8139 MB / 0.5969 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.731, allocations: 0 / 0.5969 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.7311, allocations: 28 kB / 0.5969 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.7312, allocations: 23.98 kB / 0.597 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.734, allocations: 0.5866 MB / 0.5975 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006054/0.7401, allocations: 2.656 MB / 0.6001 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.7426, allocations: 468.7 kB / 0.6006 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007149/0.7433, allocations: 157.6 kB / 0.6007 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.118/0.8613, allocations: 17.54 MB / 0.6179 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/0.8614, allocations: 38.55 kB / 0.6179 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 3.948e-06/0.8614, allocations: 7.938 kB / 0.6179 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.004341/0.8657, allocations: 0.6793 MB / 0.6186 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.8658, allocations: 88.98 kB / 0.6186 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/0.8666, allocations: 381.9 kB / 0.619 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.8666, allocations: 29.7 kB / 0.619 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/0.8671, allocations: 356.6 kB / 0.6194 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.8672, allocations: 122.9 kB / 0.6195 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.8675, allocations: 73.97 kB / 0.6196 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002498/0.8677, allocations: 346.8 kB / 0.6199 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007046/0.8684, allocations: 138.1 kB / 0.62 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.8692, allocations: 201.8 kB / 0.6202 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.8707, allocations: 343.7 kB / 0.6205 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.8708, allocations: 0 / 0.6205 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002056/0.8728, allocations: 427.6 kB / 0.621 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.8728, allocations: 7.938 kB / 0.621 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.8729, allocations: 4 kB / 0.621 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/0.8729, allocations: 7.938 kB / 0.621 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.8737, allocations: 88.12 kB / 0.6211 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.8737, allocations: 11.98 kB / 0.6211 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.8743, allocations: 35.83 kB / 0.6211 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.8743, allocations: 12 kB / 0.6211 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007199/0.8751, allocations: 224.7 kB / 0.6213 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004638/0.8755, allocations: 191.9 kB / 0.6215 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008768/0.8764, allocations: 302.9 kB / 0.6218 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.999e-06/0.8764, allocations: 4 kB / 0.6218 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.00125/0.8776, allocations: 368.8 kB / 0.6222 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.8777, allocations: 8.344 kB / 0.6222 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8777, allocations: 8 kB / 0.6222 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.8777, allocations: 4 kB / 0.6222 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.8782, allocations: 83.89 kB / 0.6223 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.8782, allocations: 11.88 kB / 0.6223 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.8786, allocations: 31.83 kB / 0.6223 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.8787, allocations: 23.92 kB / 0.6223 GB, free: 2.211 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.0003095/0.879, allocations: 203.1 kB / 0.6225 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.8792, allocations: 47.72 kB / 0.6226 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.8828, allocations: 1.643 MB / 0.6242 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.514e-05/0.8828, allocations: 27.89 kB / 0.6242 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.8828, allocations: 4 kB / 0.6242 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.8828, allocations: 0 / 0.6242 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.8845, allocations: 0.8082 MB / 0.625 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.8845, allocations: 0 / 0.625 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.8851, allocations: 71.88 kB / 0.6251 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.8851, allocations: 8 kB / 0.6251 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.8852, allocations: 12 kB / 0.6251 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.8852, allocations: 3.938 kB / 0.6251 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.8852, allocations: 3.938 kB / 0.6251 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.8877, allocations: 1.004 MB / 0.6261 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.888, allocations: 119.2 kB / 0.6262 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.723e-05/0.8881, allocations: 4 kB / 0.6262 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/0.8887, allocations: 19.98 kB / 0.6262 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.8888, allocations: 47.86 kB / 0.6262 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.8889, allocations: 12 kB / 0.6263 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004728/0.8894, allocations: 259.1 kB / 0.6265 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8894, allocations: 0 / 0.6265 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004277/0.8936, allocations: 1.099 MB / 0.6276 GB, free: 12.77 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.00589/0.8995, allocations: 0.9893 MB / 0.6285 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002219/0.9018, allocations: 0.6421 MB / 0.6292 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9018, allocations: 4.188 kB / 0.6292 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009234/0.9027, allocations: 345 kB / 0.6295 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.9047, allocations: 236.8 kB / 0.6297 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.9094, allocations: 1.638 MB / 0.6313 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.91, allocations: 392.4 kB / 0.6317 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001116/0.9111, allocations: 370.6 kB / 0.6321 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.9114, allocations: 48.48 kB / 0.6321 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of SimCode: time 1.203e-06/0.9114, allocations: 4 kB / 0.6321 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of Templates: time 0.3451/1.256, 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 cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.790383875952102] Failed to read output from testmodel.py, exit status != 0: 1.287626232020557 1.2886662869999999 0.566766924 Calling exit ...