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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 120.8 kB / 18.46 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 190.9 kB / 21.4 MB, free: 1.535 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.43/1.43, allocations: 207.6 MB / 231.8 MB, free: 4.016 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.41/0.41, allocations: 49.52 MB / 333.2 MB, free: 0.8164 MB / 254.1 MB " [Timeout remaining time 179] 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.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.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.002159/0.002159, allocations: 72.55 kB / 471.9 MB, free: 40.82 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1092, allocations: 62.34 MB / 0.5218 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.1144/0.2236, allocations: 108.1 MB / 0.6273 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.2392, allocations: 11.61 MB / 0.6386 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.2403, allocations: 23.88 kB / 0.6387 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.242, allocations: 0.555 MB / 0.6392 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.2435, allocations: 0.6291 MB / 0.6398 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01604/0.2596, allocations: 5.674 MB / 0.6454 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00273/0.2623, allocations: 1.654 MB / 0.647 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.2634, allocations: 0.52 MB / 0.6475 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3206/0.584, allocations: 0.6488 MB / 0.6481 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.5855, allocations: 0.6462 MB / 0.6487 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.5857, allocations: 65.69 kB / 0.6488 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01255/0.5982, allocations: 6.451 MB / 0.6551 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.5986, allocations: 165.3 kB / 0.6553 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007471/0.5993, allocations: 428 kB / 0.6557 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.6117, allocations: 4.312 MB / 0.6599 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6117, allocations: 1.531 kB / 0.6599 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6117, allocations: 0 / 0.6599 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.211e-05/0.6118, allocations: 0 / 0.6599 GB, free: 8.215 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.00611/0.6179, allocations: 1.583 MB / 0.6614 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.6179, allocations: 13.02 kB / 0.6614 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/0.6183, allocations: 116 kB / 0.6615 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/0.6192, allocations: 0.4925 MB / 0.662 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.6193, allocations: 50.03 kB / 0.6621 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.6194, allocations: 58.94 kB / 0.6621 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.621, allocations: 0.8157 MB / 0.6629 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.621, allocations: 4 kB / 0.6629 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.621, allocations: 26.75 kB / 0.663 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.621, allocations: 17.97 kB / 0.663 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.6223, allocations: 0.5876 MB / 0.6635 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004508/0.6268, allocations: 4.395 MB / 0.6678 GB, free: 19.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.6281, allocations: 468.8 kB / 0.6683 GB, free: 19.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.6284, allocations: 161 kB / 0.6684 GB, free: 19.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06654/0.6949, allocations: 32.12 MB / 0.6998 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.695, allocations: 40.97 kB / 0.6998 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.625e-06/0.695, allocations: 0 / 0.6998 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.002303/0.6973, allocations: 0.6969 MB / 0.7005 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.6974, allocations: 89.08 kB / 0.7006 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006197/0.698, allocations: 477.7 kB / 0.7011 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.698, allocations: 33.27 kB / 0.7011 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.6983, allocations: 336 kB / 0.7014 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.6984, allocations: 118.7 kB / 0.7015 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.6985, allocations: 73.56 kB / 0.7016 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002226/0.6988, allocations: 362.4 kB / 0.7019 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.6991, allocations: 136.4 kB / 0.7021 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.6994, allocations: 199.8 kB / 0.7023 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.7001, allocations: 330.9 kB / 0.7026 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7001, allocations: 0 / 0.7026 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000922/0.701, allocations: 425.3 kB / 0.703 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.7011, allocations: 9.406 kB / 0.703 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.7011, allocations: 7.969 kB / 0.703 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.7011, allocations: 6.281 kB / 0.703 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.7015, allocations: 91.88 kB / 0.7031 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.7015, allocations: 5.594 kB / 0.7031 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.7019, allocations: 51.55 kB / 0.7032 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.702, allocations: 19.33 kB / 0.7032 GB, free: 13 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003864/0.7024, allocations: 221.8 kB / 0.7034 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002324/0.7026, allocations: 194.4 kB / 0.7036 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004351/0.703, allocations: 300 kB / 0.7039 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.703, allocations: 2.156 kB / 0.7039 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006223/0.7036, allocations: 377.3 kB / 0.7042 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.7037, allocations: 8.531 kB / 0.7042 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.7037, allocations: 4.75 kB / 0.7042 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/0.7037, allocations: 2.969 kB / 0.7042 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.704, allocations: 94.92 kB / 0.7043 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.704, allocations: 12.06 kB / 0.7043 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.7042, allocations: 28.56 kB / 0.7044 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.7043, allocations: 16.67 kB / 0.7044 GB, free: 12.5 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.0002203/0.7045, allocations: 205.6 kB / 0.7046 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.7046, allocations: 67.59 kB / 0.7046 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.7064, allocations: 1.572 MB / 0.7062 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.7064, allocations: 26.02 kB / 0.7062 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.7064, allocations: 5.094 kB / 0.7062 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7064, allocations: 0 / 0.7062 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.7074, allocations: 0.9752 MB / 0.7072 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7075, allocations: 2.969 kB / 0.7072 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.7078, allocations: 65.27 kB / 0.7072 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7078, allocations: 3.375 kB / 0.7072 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.7078, allocations: 10.66 kB / 0.7072 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7078, allocations: 4.875 kB / 0.7072 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7078, allocations: 3.984 kB / 0.7072 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.709, allocations: 0.9952 MB / 0.7082 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.7092, allocations: 192.2 kB / 0.7084 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.286e-05/0.7093, allocations: 14.97 kB / 0.7084 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.7096, allocations: 19.17 kB / 0.7084 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.7097, allocations: 43.91 kB / 0.7085 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.7097, allocations: 11.44 kB / 0.7085 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003462/0.7101, allocations: 323.9 kB / 0.7088 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7101, allocations: 0 / 0.7088 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00496/0.715, allocations: 1.071 MB / 0.7098 GB, free: 10.66 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.007026/0.7221, allocations: 0.9854 MB / 0.7108 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.7236, allocations: 0.6337 MB / 0.7114 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7236, allocations: 0 / 0.7114 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.724, allocations: 331.4 kB / 0.7117 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.7258, allocations: 309.2 kB / 0.712 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.7289, allocations: 1.651 MB / 0.7136 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.7295, allocations: 0.9821 MB / 0.7146 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.7297, allocations: 54.5 kB / 0.7147 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/0.7297, allocations: 4 kB / 0.7147 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of Templates: time 0.04437/0.7741, allocations: 23.22 MB / 0.7373 GB, free: 288 kB / 0.545 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.579388233003556] Failed to read output from testmodel.py, exit status != 0: 0.7825592110020807 0.7946058149999999 0.18020431 Calling exit ...