Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.001537/0.001537, allocations: 77.78 kB / 21.27 MB, free: 0.5391 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.001649/0.001649, allocations: 165.9 kB / 24.54 MB, free: 3.832 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.501/1.501, allocations: 177.2 MB / 204.9 MB, free: 9.285 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.141/0.141, allocations: 19.71 MB / 281 MB, free: 13.06 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.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") [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.003147/0.003147, allocations: 71.91 kB / 417.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3379, allocations: 60.44 MB / 478.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.02469/0.3626, allocations: 14.79 MB / 492.9 MB, free: 3.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.3809, allocations: 11.96 MB / 0.493 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.3811, allocations: 0 / 0.493 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004476/0.3816, allocations: 115.2 kB / 0.4931 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.382, allocations: 202.8 kB / 0.4933 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0143/0.3963, allocations: 5.344 MB / 0.4985 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.3984, allocations: 1.958 MB / 0.5005 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.3986, allocations: 57.94 kB / 0.5005 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.3998, allocations: 0.8542 MB / 0.5013 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.401, allocations: 0.7716 MB / 0.5021 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.4012, allocations: 136 kB / 0.5022 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/0.4139, allocations: 6.505 MB / 0.5086 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005733/0.4145, allocations: 482.9 kB / 0.509 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008088/0.4153, allocations: 0.5219 MB / 0.5095 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009225/0.4246, allocations: 5.058 MB / 0.5145 GB, free: 1.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.4246, allocations: 0 / 0.5145 GB, free: 1.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.4246, allocations: 3.984 kB / 0.5145 GB, free: 1.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.4246, allocations: 4 kB / 0.5145 GB, free: 1.402 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.009602/0.4342, allocations: 2.564 MB / 0.517 GB, free: 14.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4342, allocations: 8.625 kB / 0.517 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.436, allocations: 300.2 kB / 0.5173 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.4372, allocations: 0.54 MB / 0.5178 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001365/0.4385, allocations: 1.106 MB / 0.5189 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.4388, allocations: 68 kB / 0.519 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008924/0.4477, allocations: 3.374 MB / 0.5223 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.4477, allocations: 4 kB / 0.5223 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.4479, allocations: 28 kB / 0.5223 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.108e-05/0.448, allocations: 49.97 kB / 0.5223 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.4629, allocations: 5.393 MB / 0.5276 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/0.4783, allocations: 7.806 MB / 0.5352 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007683/0.486, allocations: 2.64 MB / 0.5378 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006207/0.4922, allocations: 2.205 MB / 0.54 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.102/0.5942, allocations: 29.29 MB / 0.5686 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.336e-05/0.5943, allocations: 43.56 kB / 0.5686 GB, free: 9.621 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.186e-06/0.5943, allocations: 0 / 0.5686 GB, free: 9.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02079/0.6151, allocations: 6.626 MB / 0.5751 GB, free: 2.984 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.6151, allocations: 68.33 kB / 0.5751 GB, free: 2.902 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.6154, allocations: 202.4 kB / 0.5753 GB, free: 2.695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.6156, allocations: 45.69 kB / 0.5754 GB, free: 2.645 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.6158, allocations: 253.1 kB / 0.5756 GB, free: 2.391 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000419/0.6162, allocations: 329.1 kB / 0.5759 GB, free: 2.066 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006627/0.6169, allocations: 278.3 kB / 0.5762 GB, free: 1.789 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.617, allocations: 354.8 kB / 0.5765 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006086/0.6231, allocations: 2.144 MB / 0.5786 GB, free: 15.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006323/0.6295, allocations: 2.255 MB / 0.5808 GB, free: 13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/0.6404, allocations: 3.402 MB / 0.5842 GB, free: 9.566 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.6404, allocations: 0 / 0.5842 GB, free: 9.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01271/0.6531, allocations: 4.138 MB / 0.5882 GB, free: 5.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.6531, allocations: 4 kB / 0.5882 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.6531, allocations: 4 kB / 0.5882 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.6532, allocations: 4 kB / 0.5882 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/0.6568, allocations: 0.8267 MB / 0.589 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.6568, allocations: 8 kB / 0.589 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/0.6597, allocations: 0.6042 MB / 0.5896 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/0.6599, allocations: 91.81 kB / 0.5897 GB, free: 3.875 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007155/0.6606, allocations: 269.5 kB / 0.59 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.661, allocations: 43.77 kB / 0.59 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/0.6762, allocations: 6.656 MB / 0.5965 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01551/0.6917, allocations: 6.07 MB / 0.6024 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.6917, allocations: 0 / 0.6024 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.6917, allocations: 3.984 kB / 0.6024 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/0.7125, allocations: 8.779 MB / 0.611 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.7126, allocations: 0 / 0.611 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003574/0.7161, allocations: 0.8034 MB / 0.6118 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/0.7161, allocations: 11.88 kB / 0.6118 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.7164, allocations: 79.81 kB / 0.6119 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.7164, allocations: 8 kB / 0.6119 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7164, allocations: 4 kB / 0.6119 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.7299, allocations: 4.868 MB / 0.6166 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.7302, allocations: 126.8 kB / 0.6168 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.7304, allocations: 16 kB / 0.6168 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/0.7331, allocations: 0.5578 MB / 0.6173 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003793/0.7335, allocations: 144.6 kB / 0.6175 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/0.7337, allocations: 83.81 kB / 0.6175 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001821/0.7339, allocations: 148.2 kB / 0.6177 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7339, allocations: 0 / 0.6177 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004461/0.7383, allocations: 1.298 MB / 0.6189 GB, free: 5.805 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.00428/0.7426, allocations: 1.173 MB / 0.6201 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01335/0.756, allocations: 4.833 MB / 0.6248 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.756, allocations: 3.938 kB / 0.6248 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00671/0.7627, allocations: 2.547 MB / 0.6273 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.7643, allocations: 276.5 kB / 0.6276 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.7755, allocations: 4.562 MB / 0.632 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.7761, allocations: 0.5226 MB / 0.6325 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002029/0.7781, allocations: 0.7068 MB / 0.6332 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.7792, allocations: 216 kB / 0.6334 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of SimCode: time 1.974e-06/0.7792, allocations: 0 / 0.6334 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of Templates: time 0.2788/1.058, allocations: 58.18 MB / 0.6902 GB, free: 120.8 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.005749352043495] Failed to read output from testmodel.py, exit status != 0: 1.0685693050036207 1.075486234 0.64851424 Calling exit ...