Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.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.001676/0.001676, allocations: 77.86 kB / 21.29 MB, free: 0.5273 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.002056/0.002056, allocations: 157.8 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.458/1.458, allocations: 177.2 MB / 204.9 MB, free: 9.289 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.1401/0.1401, allocations: 19.71 MB / 281 MB, free: 13.07 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.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") translateModel(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") [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.002149/0.002149, allocations: 67.91 kB / 417.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2956, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.06094/0.3566, allocations: 46.01 MB / 0.5118 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.3721, allocations: 9.762 MB / 0.5213 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008018/0.3729, allocations: 23.81 kB / 0.5214 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.3742, allocations: 381.5 kB / 0.5217 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.3761, allocations: 0.6919 MB / 0.5224 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01168/0.3878, allocations: 4.085 MB / 0.5264 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.3906, allocations: 1.991 MB / 0.5283 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008947/0.3915, allocations: 0.49 MB / 0.5288 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.3935, allocations: 1.013 MB / 0.5298 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.395, allocations: 0.7782 MB / 0.5306 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.3952, allocations: 80 kB / 0.5306 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/0.4107, allocations: 6.072 MB / 0.5366 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009033/0.4116, allocations: 342.9 kB / 0.5369 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.4128, allocations: 458 kB / 0.5373 GB, free: 9.922 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.4262, allocations: 4.496 MB / 0.5417 GB, free: 5.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4262, allocations: 0 / 0.5417 GB, free: 5.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4262, allocations: 0 / 0.5417 GB, free: 5.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.065e-05/0.4262, allocations: 0 / 0.5417 GB, free: 5.41 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.007486/0.4337, allocations: 1.733 MB / 0.5434 GB, free: 3.637 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.4338, allocations: 12.03 kB / 0.5434 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.4356, allocations: 216.2 kB / 0.5436 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.4375, allocations: 0.5883 MB / 0.5442 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.4378, allocations: 169.4 kB / 0.5444 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.438, allocations: 84.08 kB / 0.5445 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007243/0.4452, allocations: 1.936 MB / 0.5463 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.4453, allocations: 0 / 0.5463 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.4454, allocations: 32 kB / 0.5464 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-05/0.4455, allocations: 34 kB / 0.5464 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007208/0.4527, allocations: 1.748 MB / 0.5481 GB, free: 14.73 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007242/0.4599, allocations: 2.34 MB / 0.5504 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/0.464, allocations: 1.155 MB / 0.5515 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/0.4645, allocations: 274.2 kB / 0.5518 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1237/0.5882, allocations: 35.09 MB / 0.5861 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.5882, allocations: 39.06 kB / 0.5861 GB, free: 7.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=56): time 2.645e-06/0.5883, allocations: 0 / 0.5861 GB, free: 7.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=56): time 0.007245/0.5955, allocations: 1.958 MB / 0.588 GB, free: 5.766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.5955, allocations: 59.91 kB / 0.5881 GB, free: 5.695 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008182/0.5964, allocations: 0.534 MB / 0.5886 GB, free: 5.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.5965, allocations: 37.7 kB / 0.5886 GB, free: 5.109 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.5968, allocations: 416.2 kB / 0.589 GB, free: 4.695 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.5971, allocations: 198.3 kB / 0.5892 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/0.5975, allocations: 238.1 kB / 0.5894 GB, free: 4.258 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.5978, allocations: 374.8 kB / 0.5898 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009983/0.5988, allocations: 0.5187 MB / 0.5903 GB, free: 3.363 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.5999, allocations: 0.6952 MB / 0.591 GB, free: 2.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.602, allocations: 1.133 MB / 0.5921 GB, free: 1.426 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.602, allocations: 4 kB / 0.5921 GB, free: 1.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004025/0.6061, allocations: 1.873 MB / 0.5939 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6061, allocations: 8 kB / 0.5939 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.6061, allocations: 4 kB / 0.5939 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004971/0.6111, allocations: 1.612 MB / 0.5955 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.6114, allocations: 79.77 kB / 0.5956 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0039/0.6153, allocations: 2.191 MB / 0.5977 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007894/0.6161, allocations: 63.5 kB / 0.5978 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.6163, allocations: 87.86 kB / 0.5979 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001355/0.6176, allocations: 0.7236 MB / 0.5986 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00117/0.6188, allocations: 0.7006 MB / 0.5993 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002093/0.6209, allocations: 1.132 MB / 0.6004 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.6209, allocations: 4 kB / 0.6004 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.003808/0.6247, allocations: 1.833 MB / 0.6022 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6247, allocations: 4.406 kB / 0.6022 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6247, allocations: 8 kB / 0.6022 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003726/0.6284, allocations: 1.491 MB / 0.6036 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.6288, allocations: 79.83 kB / 0.6037 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003773/0.6325, allocations: 2.14 MB / 0.6058 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.6333, allocations: 59.66 kB / 0.6058 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.6335, allocations: 75.92 kB / 0.6059 GB, free: 3.059 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].phase,heater.friction.NoFriction,boiler.friction.NoFriction) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0003869/0.6339, allocations: 216.1 kB / 0.6061 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.6341, allocations: 71.5 kB / 0.6062 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009868/0.644, allocations: 8.449 MB / 0.6144 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.644, allocations: 3.984 kB / 0.6144 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.644, allocations: 0 / 0.6144 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004505/0.6444, allocations: 155 kB / 0.6146 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.6445, allocations: 12 kB / 0.6146 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008456/0.6454, allocations: 75.86 kB / 0.6147 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.6455, allocations: 52.5 kB / 0.6147 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002947/0.6485, allocations: 1.272 MB / 0.616 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002888/0.6514, allocations: 1.862 MB / 0.6178 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007753/0.6521, allocations: 461.4 kB / 0.6182 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004973/0.6526, allocations: 370.8 kB / 0.6186 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of Backend: time 3.61e-07/0.6526, allocations: 0 / 0.6186 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008271/0.6609, allocations: 2.738 MB / 0.6213 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0036/0.6645, allocations: 2.35 MB / 0.6235 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of Templates: time 0.2751/0.9396, allocations: 58.46 MB / 0.6806 GB, free: 130.1 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.150270304060541] Failed to read output from testmodel.py, exit status != 0: 0.9483859279425815 0.957372813 0.528699959 Calling exit ...