Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.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.001299/0.001299, allocations: 78.11 kB / 21.28 MB, free: 380 kB / 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.00144/0.00144, allocations: 164.8 kB / 24.54 MB, free: 3.582 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.397/1.397, allocations: 177.2 MB / 204.9 MB, free: 9.27 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.1503/0.1503, allocations: 19.71 MB / 281 MB, free: 13.05 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.Examples.HRB.Simulators.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator") translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator") [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.002134/0.002134, allocations: 75.88 kB / 417.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2854, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator): time 0.5078/0.7931, allocations: 227.1 MB / 0.6886 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01952/0.8127, allocations: 16.02 MB / 0.7043 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.8144, allocations: 44.09 kB / 0.7043 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.8168, allocations: 0.9786 MB / 0.7053 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.82, allocations: 1.591 MB / 0.7068 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01793/0.838, allocations: 7.688 MB / 0.7143 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.8489, allocations: 12.79 MB / 0.7268 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005873/0.8548, allocations: 3.431 MB / 0.7302 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/0.8677, allocations: 5.938 MB / 0.736 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007973/0.8756, allocations: 4.352 MB / 0.7402 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002448/0.8781, allocations: 1.109 MB / 0.7413 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01972/0.8978, allocations: 8.37 MB / 0.7495 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.005612/0.9034, allocations: 3.465 MB / 0.7529 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009067/0.9125, allocations: 3.669 MB / 0.7565 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02744/0.9399, allocations: 18.02 MB / 0.7741 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9399, allocations: 0 / 0.7741 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9399, allocations: 0 / 0.7741 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002562/0.9402, allocations: 0 / 0.7741 GB, free: 5.965 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1471 * Number of variables: 1471 Notification: Performance of Generate backend data structure: time 0.02737/0.9675, allocations: 7.866 MB / 0.7817 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.9676, allocations: 12.03 kB / 0.7817 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.9828, allocations: 2.466 MB / 0.7842 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.9934, allocations: 3.945 MB / 0.788 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006494/0.994, allocations: 470.2 kB / 0.7885 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003184/0.9972, allocations: 0.7242 MB / 0.7892 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03579/1.033, allocations: 15.6 MB / 0.8044 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/1.033, allocations: 7.938 kB / 0.8044 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001217/1.034, allocations: 232.1 kB / 0.8046 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004984/1.035, allocations: 427.2 kB / 0.805 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03634/1.071, allocations: 15.81 MB / 0.8205 GB, free: 6.09 MB / 0.6231 GB 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.07581/1.147, allocations: 30.7 MB / 0.8505 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03238/1.179, allocations: 12.53 MB / 0.8627 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009572/1.189, allocations: 4.716 MB / 0.8673 GB, free: 7.129 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3754/1.564, allocations: 44.18 MB / 0.9104 GB, free: 317.7 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/1.564, allocations: 108 kB / 0.9105 GB, free: 317.6 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=603): time 1.085e-05/1.564, allocations: 0 / 0.9105 GB, free: 317.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=604): time 0.1023/1.667, allocations: 37.43 MB / 0.9471 GB, free: 293.2 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/1.667, allocations: 137.8 kB / 0.9472 GB, free: 293.1 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/1.669, allocations: 1.377 MB / 0.9486 GB, free: 291.7 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001827/1.67, allocations: 141.7 kB / 0.9487 GB, free: 291.6 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007165/1.671, allocations: 1.597 MB / 0.9503 GB, free: 290.2 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002801/1.674, allocations: 2.203 MB / 0.9524 GB, free: 288.3 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002924/1.677, allocations: 1.287 MB / 0.9537 GB, free: 287 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/1.677, allocations: 301.1 kB / 0.954 GB, free: 286.7 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00763/1.684, allocations: 5.696 MB / 0.9595 GB, free: 281 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008623/1.693, allocations: 6.359 MB / 0.9657 GB, free: 274.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/1.71, allocations: 12.36 MB / 0.9778 GB, free: 261.9 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/1.71, allocations: 3.938 kB / 0.9778 GB, free: 261.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.03512/1.745, allocations: 19.17 MB / 0.9965 GB, free: 242.7 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.745, allocations: 15.92 kB / 0.9965 GB, free: 242.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/1.745, allocations: 15.59 kB / 0.9966 GB, free: 242.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1338/1.879, allocations: 32.08 MB / 1.028 GB, free: 210.9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/1.881, allocations: 435.4 kB / 1.028 GB, free: 210.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03661/1.918, allocations: 24.39 MB / 1.052 GB, free: 185.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006379/1.924, allocations: 311.8 kB / 1.052 GB, free: 185.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001669/1.926, allocations: 355.6 kB / 1.053 GB, free: 185.3 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0118/1.938, allocations: 7.3 MB / 1.06 GB, free: 178 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009026/1.947, allocations: 6.293 MB / 1.066 GB, free: 171.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01746/1.964, allocations: 12.23 MB / 1.078 GB, free: 159.1 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.136e-05/1.964, allocations: 0 / 1.078 GB, free: 159.1 MB / 0.7012 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.03276/1.997, allocations: 18.38 MB / 1.096 GB, free: 140.6 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/1.997, allocations: 8 kB / 1.096 GB, free: 140.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.997, allocations: 12 kB / 1.096 GB, free: 140.6 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09677/2.094, allocations: 24.36 MB / 1.12 GB, free: 116.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/2.096, allocations: 495.3 kB / 1.12 GB, free: 115.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03507/2.131, allocations: 23.78 MB / 1.143 GB, free: 91.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005964/2.137, allocations: 311.8 kB / 1.144 GB, free: 91.54 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001698/2.139, allocations: 351.7 kB / 1.144 GB, free: 91.2 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 15 (Plant.Boiler.WaterSide.fluidState[11].phase,Plant.Boiler.WaterSide.fluidState[10].phase,Plant.Boiler.WaterSide.fluidState[9].phase,Plant.Boiler.WaterSide.fluidState[8].phase,Plant.Boiler.WaterSide.fluidState[7].phase,Plant.Boiler.WaterSide.fluidState[6].phase,Plant.Boiler.WaterSide.fluidState[5].phase,Plant.Boiler.WaterSide.fluidState[4].phase,Plant.Boiler.WaterSide.fluidState[3].phase,Plant.Boiler.WaterSide.fluidState[2].phase,Plant.Boiler.WaterSide.fluidState[1].phase,Plant.Boiler.GasSide.friction.NoFriction,Plant.Boiler.WaterSide.friction.NoFriction,Plant.WaterOut.fluidState.phase,Plant.WaterIn.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 {(36,460)} Notification: Performance of prepare postOptimizeDAE: time 0.00217/2.141, allocations: 454.4 kB / 1.144 GB, free: 90.75 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/2.142, allocations: 338 kB / 1.145 GB, free: 90.41 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0446/2.187, allocations: 36.48 MB / 1.18 GB, free: 53.78 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001925/2.187, allocations: 31.88 kB / 1.18 GB, free: 53.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/2.187, allocations: 0 / 1.18 GB, free: 53.75 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004735/2.192, allocations: 1.672 MB / 1.182 GB, free: 52.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001965/2.194, allocations: 219.8 kB / 1.182 GB, free: 51.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007112/2.201, allocations: 451.3 kB / 1.183 GB, free: 51.41 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002314/2.203, allocations: 0.5231 MB / 1.183 GB, free: 50.89 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03581/2.239, allocations: 16.44 MB / 1.199 GB, free: 34.43 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02798/2.267, allocations: 19.46 MB / 1.218 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007827/2.275, allocations: 6.111 MB / 1.224 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001187/2.276, allocations: 0.9792 MB / 1.225 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of Backend: time 5.01e-07/2.276, allocations: 0 / 1.225 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.2483/2.524, allocations: 17.36 MB / 1.242 GB, free: 311 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01658/2.541, allocations: 12.65 MB / 1.255 GB, free: 305.4 MB / 0.7012 GB Notification: Performance of Templates: time 0.252/2.793, allocations: 260.9 MB / 1.509 GB, free: 50.87 MB / 0.7012 GB " [Timeout remaining time 657] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 23.61141457897611] Failed to read output from testmodel.py, exit status != 0: 2.8028416690649465 2.812876486 1.870231741 Calling exit ...