Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS") translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 108.2 kB / 17.75 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 192.2 kB / 18.68 MB, free: 4.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2462/0.2462, allocations: 48.84 MB / 320.7 MB, free: 11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 451.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09602, allocations: 59.15 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS): time 0.4326/0.5287, allocations: 258.4 MB / 0.7507 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.2952/0.8239, allocations: 18.6 MB / 0.7689 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.825, allocations: 33.69 kB / 0.7689 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.827, allocations: 0.9719 MB / 0.7699 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.8295, allocations: 1.509 MB / 0.7713 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01858/0.8481, allocations: 8.004 MB / 0.7791 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.8592, allocations: 12.27 MB / 0.7911 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005435/0.8647, allocations: 4.03 MB / 0.7951 GB, free: 16.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007756/0.8724, allocations: 3.838 MB / 0.7988 GB, free: 16.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005204/0.8777, allocations: 4.002 MB / 0.8027 GB, free: 16.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001306/0.879, allocations: 1.066 MB / 0.8038 GB, free: 16.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01555/0.8945, allocations: 8.725 MB / 0.8123 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003042/0.8976, allocations: 3.339 MB / 0.8155 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004965/0.9026, allocations: 4.127 MB / 0.8196 GB, free: 16.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0205/0.9231, allocations: 17.15 MB / 0.8363 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9231, allocations: 0 / 0.8363 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9231, allocations: 0 / 0.8363 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002775/0.9234, allocations: 4.531 kB / 0.8363 GB, free: 7.355 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1371 * Number of variables: 1371 Notification: Performance of Generate backend data structure: time 0.02284/0.9463, allocations: 7.481 MB / 0.8436 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.9463, allocations: 12.61 kB / 0.8436 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.9594, allocations: 2.392 MB / 0.846 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007704/0.9671, allocations: 3.785 MB / 0.8497 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.9674, allocations: 387 kB / 0.85 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/0.9689, allocations: 0.6907 MB / 0.8507 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02489/0.9938, allocations: 13.34 MB / 0.8637 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.165e-05/0.9939, allocations: 0.6562 kB / 0.8637 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007755/0.9946, allocations: 220.8 kB / 0.864 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003175/0.995, allocations: 362.5 kB / 0.8643 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02698/1.022, allocations: 15.41 MB / 0.8793 GB, free: 12.01 MB / 0.6544 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.06068/1.083, allocations: 42.61 MB / 0.921 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03019/1.113, allocations: 21.48 MB / 0.9419 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006928/1.12, allocations: 5.06 MB / 0.9469 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1565/1.276, allocations: 81.23 MB / 1.026 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/1.276, allocations: 111.9 kB / 1.026 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=604): time 1.147e-05/1.277, allocations: 7.922 kB / 1.026 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=605): time 0.2991/1.576, allocations: 39.25 MB / 1.065 GB, free: 404.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/1.576, allocations: 140.7 kB / 1.065 GB, free: 404.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/1.578, allocations: 1.627 MB / 1.066 GB, free: 403.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.001317/1.579, allocations: 138 kB / 1.066 GB, free: 403.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006621/1.58, allocations: 1.428 MB / 1.068 GB, free: 402.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001998/1.582, allocations: 2.096 MB / 1.07 GB, free: 401.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002369/1.584, allocations: 1.282 MB / 1.071 GB, free: 400.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.392e-05/1.584, allocations: 301.1 kB / 1.071 GB, free: 400.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007168/1.592, allocations: 5.716 MB / 1.077 GB, free: 397.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007839/1.599, allocations: 6.315 MB / 1.083 GB, free: 394.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/1.614, allocations: 12.4 MB / 1.095 GB, free: 388.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/1.614, allocations: 3.625 kB / 1.095 GB, free: 388.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.03178/1.646, allocations: 19.22 MB / 1.114 GB, free: 371 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/1.646, allocations: 12 kB / 1.114 GB, free: 371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/1.646, allocations: 8 kB / 1.114 GB, free: 371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.127/1.773, allocations: 31.36 MB / 1.145 GB, free: 340.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/1.775, allocations: 423.4 kB / 1.145 GB, free: 340.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03035/1.805, allocations: 24.44 MB / 1.169 GB, free: 315.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005902/1.811, allocations: 315.8 kB / 1.169 GB, free: 315.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007397/1.812, allocations: 355.7 kB / 1.17 GB, free: 314.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009146/1.821, allocations: 7.184 MB / 1.177 GB, free: 307.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007284/1.828, allocations: 6.258 MB / 1.183 GB, free: 301.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0145/1.843, allocations: 12.26 MB / 1.195 GB, free: 288.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.698e-06/1.843, allocations: 7.938 kB / 1.195 GB, free: 288.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=693) (initialization_lambda0): time 0.02517/1.868, allocations: 18.51 MB / 1.213 GB, free: 270.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.868, allocations: 16 kB / 1.213 GB, free: 270.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/1.868, allocations: 11.98 kB / 1.213 GB, free: 270.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09201/1.96, allocations: 24.44 MB / 1.237 GB, free: 245.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/1.962, allocations: 498 kB / 1.237 GB, free: 245.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0295/1.992, allocations: 23.77 MB / 1.26 GB, free: 221.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005353/1.997, allocations: 319.7 kB / 1.261 GB, free: 221 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006983/1.998, allocations: 355.6 kB / 1.261 GB, free: 220.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 13 (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.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 (202): * Single equations (assignments): 198 * 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 {(34,458)} Notification: Performance of prepare postOptimizeDAE: time 0.001795/2, allocations: 458.1 kB / 1.262 GB, free: 220.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/2.001, allocations: 348.1 kB / 1.262 GB, free: 219.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03807/2.039, allocations: 35.17 MB / 1.296 GB, free: 184.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.152e-05/2.039, allocations: 27.89 kB / 1.296 GB, free: 184.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/2.039, allocations: 0 / 1.296 GB, free: 184.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003704/2.043, allocations: 1.765 MB / 1.298 GB, free: 182.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/2.044, allocations: 211.8 kB / 1.298 GB, free: 182.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005468/2.049, allocations: 463.3 kB / 1.299 GB, free: 182.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/2.05, allocations: 0.4999 MB / 1.299 GB, free: 181.6 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03065/2.081, allocations: 16.54 MB / 1.315 GB, free: 165 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02258/2.104, allocations: 19.5 MB / 1.334 GB, free: 145.4 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006917/2.111, allocations: 6.544 MB / 1.341 GB, free: 138.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001506/2.112, allocations: 1.176 MB / 1.342 GB, free: 137.7 MB / 0.8106 GB Notification: Performance of Backend: time 3.41e-07/2.112, allocations: 0 / 1.342 GB, free: 137.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.03976/2.152, allocations: 18.3 MB / 1.36 GB, free: 119.7 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01623/2.168, allocations: 12.23 MB / 1.372 GB, free: 107.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.4835/2.652, allocations: 326.8 MB / 1.691 GB, free: 168 MB / 0.8106 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.makefile (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS.pipe 2>&1)