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.001343/0.001343, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00145/0.00145, allocations: 210 kB / 24.5 MB, free: 4.133 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.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.1521/0.1521, allocations: 26.81 MB / 341.5 MB, free: 8.195 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.002091/0.002091, allocations: 67.89 kB / 478.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3013, allocations: 60.49 MB / 0.526 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.119/0.4203, allocations: 109.4 MB / 0.6328 GB, free: 7.309 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.4369, allocations: 11.71 MB / 0.6442 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.4379, allocations: 31.75 kB / 0.6442 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.4399, allocations: 0.5628 MB / 0.6448 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.4416, allocations: 0.6212 MB / 0.6454 GB, free: 10.33 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01789/0.4595, allocations: 5.743 MB / 0.651 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002832/0.4623, allocations: 1.669 MB / 0.6526 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.4636, allocations: 0.5244 MB / 0.6532 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.465, allocations: 0.6655 MB / 0.6538 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.4662, allocations: 0.6575 MB / 0.6544 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.4663, allocations: 67.94 kB / 0.6545 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01316/0.4795, allocations: 6.486 MB / 0.6608 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.4798, allocations: 167.3 kB / 0.661 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000671/0.4804, allocations: 434 kB / 0.6614 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009351/0.4898, allocations: 4.337 MB / 0.6657 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.4898, allocations: 0 / 0.6657 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4898, allocations: 0 / 0.6657 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.063e-05/0.4898, allocations: 0 / 0.6657 GB, free: 5.551 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.004148/0.494, allocations: 1.527 MB / 0.6671 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.494, allocations: 8.031 kB / 0.6672 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006415/0.4946, allocations: 148.3 kB / 0.6673 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008262/0.4955, allocations: 442.6 kB / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.4955, allocations: 45.69 kB / 0.6678 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.602e-05/0.4956, allocations: 60.38 kB / 0.6678 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.4973, allocations: 0.8179 MB / 0.6686 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4974, allocations: 0 / 0.6686 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.4974, allocations: 28 kB / 0.6686 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.4974, allocations: 16 kB / 0.6687 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.499, allocations: 0.5865 MB / 0.6692 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/0.5036, allocations: 4.358 MB / 0.6735 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.505, allocations: 452.9 kB / 0.6739 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.5054, allocations: 173.5 kB / 0.6741 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06125/0.5666, allocations: 17.47 MB / 0.6911 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.5667, allocations: 42.56 kB / 0.6912 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.044e-06/0.5667, allocations: 0 / 0.6912 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.002399/0.5691, allocations: 0.7031 MB / 0.6919 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.5691, allocations: 81.11 kB / 0.692 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007192/0.5698, allocations: 483 kB / 0.6924 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.5699, allocations: 33.7 kB / 0.6924 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.5702, allocations: 340.2 kB / 0.6928 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.5703, allocations: 122.9 kB / 0.6929 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.5704, allocations: 73.97 kB / 0.693 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5706, allocations: 362.8 kB / 0.6933 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.571, allocations: 138.1 kB / 0.6934 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.5714, allocations: 197.8 kB / 0.6936 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007343/0.5721, allocations: 331.8 kB / 0.6939 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5721, allocations: 4 kB / 0.6939 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001009/0.5731, allocations: 429.1 kB / 0.6944 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5732, allocations: 12.02 kB / 0.6944 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5732, allocations: 7.938 kB / 0.6944 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5732, allocations: 4 kB / 0.6944 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.5736, allocations: 91.81 kB / 0.6945 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5736, allocations: 4 kB / 0.6945 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.574, allocations: 47.67 kB / 0.6945 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.574, allocations: 16 kB / 0.6945 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003858/0.5744, allocations: 228.7 kB / 0.6947 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002974/0.5747, allocations: 188 kB / 0.6949 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006339/0.5753, allocations: 314.2 kB / 0.6952 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.429e-06/0.5753, allocations: 4 kB / 0.6952 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007623/0.5761, allocations: 376.8 kB / 0.6956 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.5761, allocations: 8 kB / 0.6956 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5761, allocations: 4 kB / 0.6956 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.5761, allocations: 7.938 kB / 0.6956 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.5765, allocations: 88.17 kB / 0.6957 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.5765, allocations: 11.98 kB / 0.6957 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.5767, allocations: 27.84 kB / 0.6957 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.5768, allocations: 19.98 kB / 0.6957 GB, free: 5.891 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.0001873/0.5769, allocations: 196.1 kB / 0.6959 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.5771, allocations: 71.56 kB / 0.696 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.5793, allocations: 1.631 MB / 0.6976 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/0.5793, allocations: 23.97 kB / 0.6976 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5793, allocations: 0 / 0.6976 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5793, allocations: 11.86 kB / 0.6976 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.5806, allocations: 0.9785 MB / 0.6986 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5806, allocations: 0 / 0.6986 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.5809, allocations: 63.95 kB / 0.6986 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.5809, allocations: 0 / 0.6986 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.581, allocations: 15.94 kB / 0.6987 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.581, allocations: 3.938 kB / 0.6987 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.581, allocations: 4 kB / 0.6987 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.5824, allocations: 1.005 MB / 0.6997 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.5826, allocations: 127.1 kB / 0.6998 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.5827, allocations: 15.94 kB / 0.6998 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.583, allocations: 15.98 kB / 0.6998 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.5831, allocations: 47.92 kB / 0.6998 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.5831, allocations: 8 kB / 0.6999 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003874/0.5835, allocations: 330.9 kB / 0.7002 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5835, allocations: 3.938 kB / 0.7002 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002893/0.5864, allocations: 1.08 MB / 0.7012 GB, free: 200 kB / 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.004077/0.5905, allocations: 0.9893 MB / 0.7022 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.592, allocations: 0.6451 MB / 0.7028 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.592, allocations: 0 / 0.7028 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.5926, allocations: 337.1 kB / 0.7031 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.5943, allocations: 318.8 kB / 0.7035 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.5974, allocations: 1.686 MB / 0.7051 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.5981, allocations: 0.9867 MB / 0.7061 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.5982, allocations: 55.42 kB / 0.7061 GB, free: 11.12 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.5982, allocations: 0 / 0.7061 GB, free: 11.12 MB / 0.545 GB Notification: Performance of Templates: time 0.03691/0.6352, allocations: 23.42 MB / 0.729 GB, free: 3.707 MB / 0.5606 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.61650363903027] Failed to read output from testmodel.py, exit status != 0: 0.6444977800128981 0.836061616 0.34351940099999995 Calling exit ...