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.001567/0.001567, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001809/0.001809, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.661/1.661, allocations: 207.6 MB / 235.3 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] 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.3794/0.3794, allocations: 49.56 MB / 337.1 MB, free: 4.191 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.0026/0.0026, allocations: 76.5 kB / 477.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1659, allocations: 62.42 MB / 0.5274 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.5048/0.6707, allocations: 109.1 MB / 0.6339 GB, free: 8.426 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.6887, allocations: 11.64 MB / 0.6453 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.69, allocations: 27.75 kB / 0.6453 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.6919, allocations: 0.555 MB / 0.6459 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.6933, allocations: 0.6291 MB / 0.6465 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01834/0.7117, allocations: 5.706 MB / 0.6521 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.7145, allocations: 1.658 MB / 0.6537 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009559/0.7154, allocations: 0.5244 MB / 0.6542 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009563/0.7164, allocations: 0.6655 MB / 0.6548 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008993/0.7173, allocations: 0.6536 MB / 0.6555 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.562e-05/0.7174, allocations: 64 kB / 0.6555 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0146/0.732, allocations: 6.474 MB / 0.6619 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.7323, allocations: 171.3 kB / 0.662 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006636/0.7329, allocations: 426 kB / 0.6624 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009566/0.7425, allocations: 4.317 MB / 0.6666 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.7425, allocations: 0 / 0.6666 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7425, allocations: 4 kB / 0.6667 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.847e-05/0.7425, allocations: 0 / 0.6667 GB, free: 6.836 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.005697/0.7482, allocations: 1.503 MB / 0.6681 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.7483, allocations: 8.031 kB / 0.6681 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005061/0.7488, allocations: 120.4 kB / 0.6682 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.7499, allocations: 418.6 kB / 0.6686 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.7499, allocations: 53.69 kB / 0.6687 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.75, allocations: 68.55 kB / 0.6688 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.752, allocations: 0.8101 MB / 0.6696 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.752, allocations: 0 / 0.6696 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.204e-05/0.7521, allocations: 24 kB / 0.6696 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.7521, allocations: 20 kB / 0.6696 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.7537, allocations: 0.5905 MB / 0.6702 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005319/0.7591, allocations: 4.343 MB / 0.6744 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.7605, allocations: 464.8 kB / 0.6749 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/0.7609, allocations: 165.6 kB / 0.675 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06063/0.8215, allocations: 16.75 MB / 0.6914 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.8216, allocations: 42.5 kB / 0.6914 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.8216, allocations: 3.938 kB / 0.6914 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.00259/0.8242, allocations: 0.7065 MB / 0.6921 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.8243, allocations: 81.11 kB / 0.6922 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008014/0.8251, allocations: 471 kB / 0.6926 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.8251, allocations: 29.7 kB / 0.6927 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.8255, allocations: 336.3 kB / 0.693 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.8256, allocations: 118.9 kB / 0.6931 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.8258, allocations: 73.97 kB / 0.6932 GB, free: 11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002382/0.826, allocations: 366.8 kB / 0.6935 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.8264, allocations: 130.1 kB / 0.6936 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.8268, allocations: 201.8 kB / 0.6938 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.8276, allocations: 333.4 kB / 0.6942 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8276, allocations: 4 kB / 0.6942 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001056/0.8286, allocations: 424.9 kB / 0.6946 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.8286, allocations: 8 kB / 0.6946 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.8287, allocations: 0 / 0.6946 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/0.8287, allocations: 7.938 kB / 0.6946 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.8291, allocations: 88.75 kB / 0.6947 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.8292, allocations: 11.88 kB / 0.6947 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.8296, allocations: 55.91 kB / 0.6947 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.8296, allocations: 16 kB / 0.6947 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004069/0.83, allocations: 224.7 kB / 0.695 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003095/0.8303, allocations: 184 kB / 0.6951 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005623/0.8309, allocations: 315.1 kB / 0.6954 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.8309, allocations: 4 kB / 0.6954 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0008758/0.8318, allocations: 368.9 kB / 0.6958 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.8318, allocations: 8.328 kB / 0.6958 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.8318, allocations: 8 kB / 0.6958 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.8318, allocations: 4 kB / 0.6958 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.8321, allocations: 92.39 kB / 0.6959 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.8322, allocations: 4 kB / 0.6959 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.8325, allocations: 31.88 kB / 0.6959 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.8325, allocations: 12 kB / 0.6959 GB, free: 7.992 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.0002025/0.8327, allocations: 200.8 kB / 0.6961 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.8329, allocations: 71.61 kB / 0.6962 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.8352, allocations: 1.631 MB / 0.6978 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/0.8352, allocations: 31.89 kB / 0.6978 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.8352, allocations: 0 / 0.6978 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.8352, allocations: 0 / 0.6978 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.8366, allocations: 0.9708 MB / 0.6988 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.8366, allocations: 0 / 0.6988 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.837, allocations: 71.89 kB / 0.6988 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.837, allocations: 4 kB / 0.6988 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.8371, allocations: 11.92 kB / 0.6989 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.8371, allocations: 4 kB / 0.6989 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8371, allocations: 0 / 0.6989 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.8386, allocations: 1.013 MB / 0.6998 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/0.8389, allocations: 123.1 kB / 0.7 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-05/0.839, allocations: 11.94 kB / 0.7 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.8394, allocations: 15.98 kB / 0.7 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.8395, allocations: 43.92 kB / 0.7 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.8395, allocations: 8 kB / 0.7 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004514/0.84, allocations: 326.9 kB / 0.7004 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.84, allocations: 4 kB / 0.7004 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003752/0.8437, allocations: 1.072 MB / 0.7014 GB, free: 2.32 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.005037/0.8488, allocations: 0.9845 MB / 0.7024 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.8504, allocations: 0.6449 MB / 0.703 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.8504, allocations: 1.188 kB / 0.703 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/0.8511, allocations: 345 kB / 0.7033 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.8529, allocations: 312.1 kB / 0.7036 GB, free: 48 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.8569, allocations: 1.672 MB / 0.7053 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008298/0.8577, allocations: 0.9789 MB / 0.7062 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.8579, allocations: 55.42 kB / 0.7063 GB, free: 13.27 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.8579, allocations: 0 / 0.7063 GB, free: 13.27 MB / 0.545 GB Notification: Performance of Templates: time 0.04679/0.9047, allocations: 23.21 MB / 0.7289 GB, free: 6.023 MB / 0.5606 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.866608198033646] Failed to read output from testmodel.py, exit status != 0: 0.9157091730739921 0.932195165 0.186126026 Calling exit ...