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.001218/0.001218, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001331/0.001331, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.534/1.534, 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.2928/0.2928, allocations: 48.84 MB / 320.8 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.001772/0.001772, allocations: 71.89 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1525, allocations: 59.17 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulatorSS): time 0.6306/0.7832, allocations: 258.3 MB / 0.7507 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.4307/1.214, allocations: 18.61 MB / 0.7689 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002594/1.217, allocations: 33.88 kB / 0.7689 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003429/1.22, allocations: 0.9561 MB / 0.7698 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00549/1.226, allocations: 1.477 MB / 0.7713 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02649/1.252, allocations: 7.99 MB / 0.7791 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01826/1.27, allocations: 12.25 MB / 0.791 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007958/1.278, allocations: 4.031 MB / 0.795 GB, free: 16.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/1.289, allocations: 3.783 MB / 0.7987 GB, free: 16.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009856/1.299, allocations: 4.002 MB / 0.8026 GB, free: 16.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003786/1.303, allocations: 1.066 MB / 0.8036 GB, free: 16.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02572/1.328, allocations: 8.728 MB / 0.8121 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.007875/1.336, allocations: 3.34 MB / 0.8154 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01406/1.35, allocations: 4.125 MB / 0.8194 GB, free: 16.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03753/1.388, allocations: 17.16 MB / 0.8362 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.388, allocations: 0 / 0.8362 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.335e-06/1.388, allocations: 3.438 kB / 0.8362 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004473/1.388, allocations: 0 / 0.8362 GB, free: 7.484 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.03321/1.422, allocations: 7.472 MB / 0.8435 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/1.422, allocations: 11.89 kB / 0.8435 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01541/1.437, allocations: 2.398 MB / 0.8458 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/1.449, allocations: 3.776 MB / 0.8495 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005771/1.45, allocations: 387.9 kB / 0.8499 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004125/1.454, allocations: 0.6929 MB / 0.8506 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04/1.494, allocations: 13.34 MB / 0.8636 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002256/1.494, allocations: 0 / 0.8636 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003284/1.497, allocations: 217.4 kB / 0.8638 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004599/1.498, allocations: 358.5 kB / 0.8642 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04018/1.538, allocations: 15.41 MB / 0.8792 GB, free: 12.24 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.0918/1.63, allocations: 42.63 MB / 0.9208 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03513/1.665, allocations: 21.46 MB / 0.9418 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01038/1.675, allocations: 5.06 MB / 0.9467 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1629/1.838, allocations: 81.24 MB / 1.026 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/1.839, allocations: 111.8 kB / 1.026 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=604): time 2.053e-05/1.839, allocations: 0 / 1.026 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=605): time 0.4801/2.319, allocations: 39.25 MB / 1.065 GB, free: 404.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.574e-05/2.319, allocations: 139.5 kB / 1.065 GB, free: 404.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/2.322, allocations: 1.63 MB / 1.066 GB, free: 403.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.002666/2.325, allocations: 138.7 kB / 1.066 GB, free: 403.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/2.326, allocations: 1.417 MB / 1.068 GB, free: 402.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.004383/2.33, allocations: 2.099 MB / 1.07 GB, free: 401.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003107/2.333, allocations: 1.279 MB / 1.071 GB, free: 400.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/2.333, allocations: 301.1 kB / 1.071 GB, free: 400.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009229/2.343, allocations: 5.723 MB / 1.077 GB, free: 397.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/2.354, allocations: 6.311 MB / 1.083 GB, free: 394.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02358/2.378, allocations: 12.4 MB / 1.095 GB, free: 388.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.011e-05/2.378, allocations: 0 / 1.095 GB, free: 388.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.04718/2.425, allocations: 19.22 MB / 1.114 GB, free: 371 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.964e-05/2.425, allocations: 8 kB / 1.114 GB, free: 371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.686e-05/2.425, allocations: 12 kB / 1.114 GB, free: 371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1324/2.557, allocations: 31.36 MB / 1.145 GB, free: 340.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/2.56, allocations: 423.4 kB / 1.145 GB, free: 340.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05009/2.61, allocations: 24.45 MB / 1.169 GB, free: 315.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007682/2.618, allocations: 311.8 kB / 1.169 GB, free: 315.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002425/2.62, allocations: 359.5 kB / 1.17 GB, free: 314.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.015/2.635, allocations: 7.18 MB / 1.177 GB, free: 307.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01113/2.646, allocations: 6.262 MB / 1.183 GB, free: 301.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02157/2.668, allocations: 12.26 MB / 1.195 GB, free: 288.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.324e-05/2.668, allocations: 19.81 kB / 1.195 GB, free: 288.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=693) (initialization_lambda0): time 0.04283/2.711, allocations: 18.5 MB / 1.213 GB, free: 270.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/2.711, allocations: 12 kB / 1.213 GB, free: 270.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/2.711, allocations: 8 kB / 1.213 GB, free: 270.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09772/2.809, allocations: 24.45 MB / 1.237 GB, free: 245.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/2.811, allocations: 487.4 kB / 1.237 GB, free: 245.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05128/2.863, allocations: 23.77 MB / 1.26 GB, free: 221.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007827/2.871, allocations: 315.7 kB / 1.261 GB, free: 221 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002456/2.873, allocations: 355.7 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.004795/2.878, allocations: 450.1 kB / 1.261 GB, free: 220.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00383/2.882, allocations: 348.1 kB / 1.262 GB, free: 219.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0578/2.94, allocations: 35.18 MB / 1.296 GB, free: 184.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002174/2.94, allocations: 35.88 kB / 1.296 GB, free: 184.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/2.94, allocations: 3.938 kB / 1.296 GB, free: 184.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005977/2.946, allocations: 1.757 MB / 1.298 GB, free: 182.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00292/2.949, allocations: 207.8 kB / 1.298 GB, free: 182.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008158/2.957, allocations: 467.2 kB / 1.298 GB, free: 182.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002962/2.96, allocations: 0.5038 MB / 1.299 GB, free: 181.6 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04179/3.002, allocations: 16.54 MB / 1.315 GB, free: 165 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03472/3.037, allocations: 19.49 MB / 1.334 GB, free: 145.4 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01006/3.047, allocations: 6.544 MB / 1.341 GB, free: 138.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002526/3.049, allocations: 1.172 MB / 1.342 GB, free: 137.7 MB / 0.8106 GB Notification: Performance of Backend: time 6.01e-07/3.049, allocations: 0 / 1.342 GB, free: 137.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.06236/3.112, allocations: 18.29 MB / 1.36 GB, free: 119.6 MB / 0.8106 GB Notification: Performance of SimCode: time 0.02702/3.139, allocations: 12.24 MB / 1.371 GB, free: 107.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.7203/3.859, allocations: 323.8 MB / 1.688 GB, free: 167.5 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)