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.001862/0.001862, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002296/0.002296, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1527/0.1527, allocations: 26.83 MB / 340.7 MB, free: 8.004 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.002073/0.002073, allocations: 67.89 kB / 477.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2828, allocations: 60.48 MB / 0.5252 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01515/0.2979, allocations: 14.83 MB / 0.5397 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.3138, allocations: 11.94 MB / 0.5513 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.314, allocations: 6.562 kB / 0.5513 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.3144, allocations: 116.9 kB / 0.5514 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.3148, allocations: 209.5 kB / 0.5516 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01417/0.329, allocations: 5.325 MB / 0.5568 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.3309, allocations: 1.96 MB / 0.5587 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.3311, allocations: 58.55 kB / 0.5588 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006664/0.3318, allocations: 0.6264 MB / 0.5594 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.3329, allocations: 0.7697 MB / 0.5602 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.3332, allocations: 140 kB / 0.5603 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.346, allocations: 6.513 MB / 0.5667 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004963/0.3465, allocations: 479 kB / 0.5671 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006885/0.3472, allocations: 0.518 MB / 0.5676 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008663/0.3559, allocations: 5.066 MB / 0.5726 GB, free: 4.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3559, allocations: 0 / 0.5726 GB, free: 4.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3559, allocations: 0 / 0.5726 GB, free: 4.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3559, allocations: 0 / 0.5726 GB, free: 4.164 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.009057/0.365, allocations: 2.557 MB / 0.5751 GB, free: 1.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.365, allocations: 8.031 kB / 0.5751 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.3667, allocations: 296.2 kB / 0.5754 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.368, allocations: 0.5446 MB / 0.5759 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001386/0.3694, allocations: 1.102 MB / 0.577 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/0.3696, allocations: 72 kB / 0.577 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009303/0.3789, allocations: 3.374 MB / 0.5803 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.379, allocations: 3.938 kB / 0.5803 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.3791, allocations: 28 kB / 0.5804 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-05/0.3792, allocations: 57.97 kB / 0.5804 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.3951, allocations: 5.381 MB / 0.5857 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/0.4106, allocations: 7.795 MB / 0.5933 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00789/0.4185, allocations: 2.638 MB / 0.5959 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006534/0.425, allocations: 2.201 MB / 0.598 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1047/0.5298, allocations: 29.3 MB / 0.6266 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/0.5299, allocations: 39.56 kB / 0.6267 GB, free: 12.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 2.875e-06/0.5299, allocations: 0 / 0.6267 GB, free: 12.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02168/0.5515, allocations: 6.63 MB / 0.6331 GB, free: 5.762 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.5516, allocations: 64.34 kB / 0.6332 GB, free: 5.684 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.5518, allocations: 210.4 kB / 0.6334 GB, free: 5.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.552, allocations: 37.7 kB / 0.6334 GB, free: 5.426 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.5522, allocations: 257.1 kB / 0.6337 GB, free: 5.168 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/0.5526, allocations: 325.2 kB / 0.634 GB, free: 4.848 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000624/0.5532, allocations: 278.3 kB / 0.6342 GB, free: 4.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5534, allocations: 350.8 kB / 0.6346 GB, free: 4.219 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006513/0.5599, allocations: 2.148 MB / 0.6367 GB, free: 2.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006616/0.5665, allocations: 2.251 MB / 0.6389 GB, free: 15.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.5779, allocations: 3.398 MB / 0.6422 GB, free: 12.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5779, allocations: 4 kB / 0.6422 GB, free: 12.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01574/0.5936, allocations: 4.141 MB / 0.6462 GB, free: 8.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.5937, allocations: 7.938 kB / 0.6463 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.5937, allocations: 4 kB / 0.6463 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.5937, allocations: 4.281 kB / 0.6463 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005672/0.5994, allocations: 0.8306 MB / 0.6471 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.5994, allocations: 7.938 kB / 0.6471 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004414/0.6038, allocations: 0.6042 MB / 0.6477 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003712/0.6042, allocations: 91.81 kB / 0.6478 GB, free: 6.648 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.0009606/0.6051, allocations: 261.6 kB / 0.648 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/0.6057, allocations: 43.75 kB / 0.648 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02494/0.6306, allocations: 6.642 MB / 0.6545 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02266/0.6533, allocations: 6.054 MB / 0.6604 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.6533, allocations: 0 / 0.6604 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.6533, allocations: 3.984 kB / 0.6604 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0317/0.685, allocations: 8.782 MB / 0.669 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.685, allocations: 0 / 0.669 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005485/0.6905, allocations: 0.8034 MB / 0.6698 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/0.6905, allocations: 7.938 kB / 0.6698 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000338/0.6908, allocations: 79.81 kB / 0.6699 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.6908, allocations: 4 kB / 0.6699 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6908, allocations: 0 / 0.6699 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02161/0.7125, allocations: 4.871 MB / 0.6747 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.7127, allocations: 122.8 kB / 0.6748 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.7131, allocations: 16 kB / 0.6748 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004235/0.7173, allocations: 0.5617 MB / 0.6753 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005052/0.7178, allocations: 144.6 kB / 0.6755 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003283/0.7181, allocations: 87.81 kB / 0.6756 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002167/0.7184, allocations: 148.1 kB / 0.6757 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7184, allocations: 0 / 0.6757 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00475/0.7231, allocations: 1.302 MB / 0.677 GB, free: 8.613 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.005967/0.7291, allocations: 1.165 MB / 0.6781 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02133/0.7504, allocations: 4.833 MB / 0.6828 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7504, allocations: 4 kB / 0.6828 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01087/0.7613, allocations: 2.547 MB / 0.6853 GB, free: 40 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.7638, allocations: 280.1 kB / 0.6856 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.777, allocations: 4.558 MB / 0.69 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.7776, allocations: 0.5187 MB / 0.6905 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002208/0.7798, allocations: 0.7067 MB / 0.6912 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/0.781, allocations: 219 kB / 0.6914 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.781, allocations: 0 / 0.6914 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of Templates: time 0.2735/1.054, allocations: 59.58 MB / 0.7496 GB, free: 184 MB / 0.5606 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.448012402281165] Failed to read output from testmodel.py, exit status != 0: 1.0631064344197512 1.072038201 0.713929246 Calling exit ...