Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.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.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator") translateModel(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001371, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.001429/0.001429, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.556/1.556, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3062/0.3062, allocations: 48.86 MB / 320.8 MB, free: 11.01 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.001633/0.001633, allocations: 67.91 kB / 451.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1462, allocations: 59.15 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator): time 0.6631/0.8094, allocations: 258.4 MB / 0.7507 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.4225/1.232, allocations: 18.6 MB / 0.7689 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/1.235, allocations: 35.31 kB / 0.7689 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00452/1.24, allocations: 0.9694 MB / 0.7698 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006247/1.246, allocations: 1.512 MB / 0.7713 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.03159/1.278, allocations: 8.008 MB / 0.7791 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01835/1.296, allocations: 12.28 MB / 0.7911 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008289/1.304, allocations: 4.033 MB / 0.7951 GB, free: 16.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0095/1.314, allocations: 3.838 MB / 0.7988 GB, free: 16.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009057/1.323, allocations: 4.007 MB / 0.8027 GB, free: 16.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004052/1.327, allocations: 1.069 MB / 0.8038 GB, free: 16.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02596/1.353, allocations: 8.722 MB / 0.8123 GB, free: 16.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006657/1.36, allocations: 3.347 MB / 0.8156 GB, free: 16.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01516/1.375, allocations: 4.131 MB / 0.8196 GB, free: 16.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03714/1.412, allocations: 17.24 MB / 0.8364 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/1.412, allocations: 2.844 kB / 0.8364 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/1.412, allocations: 0.9062 kB / 0.8364 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004232/1.413, allocations: 0 / 0.8364 GB, free: 7.293 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.03677/1.449, allocations: 7.615 MB / 0.8439 GB, free: 308 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.251e-05/1.449, allocations: 15.89 kB / 0.8439 GB, free: 292 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/1.467, allocations: 2.418 MB / 0.8462 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01302/1.48, allocations: 3.798 MB / 0.8499 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006477/1.481, allocations: 391.6 kB / 0.8503 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004496/1.485, allocations: 0.6788 MB / 0.851 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04402/1.529, allocations: 13.35 MB / 0.864 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003291/1.53, allocations: 4 kB / 0.864 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004257/1.534, allocations: 217.3 kB / 0.8642 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005587/1.535, allocations: 354.5 kB / 0.8646 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04383/1.579, allocations: 15.41 MB / 0.8796 GB, free: 11.79 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.09176/1.67, allocations: 42.78 MB / 0.9214 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03462/1.705, allocations: 21.48 MB / 0.9424 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009211/1.714, allocations: 5.056 MB / 0.9473 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1614/1.876, allocations: 81.25 MB / 1.027 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/1.876, allocations: 111.9 kB / 1.027 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=604): time 1.485e-05/1.876, allocations: 4 kB / 1.027 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=605): time 0.4674/2.343, allocations: 39.31 MB / 1.065 GB, free: 404.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/2.344, allocations: 139.8 kB / 1.065 GB, free: 404.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/2.347, allocations: 1.631 MB / 1.067 GB, free: 404 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.002879/2.35, allocations: 139.4 kB / 1.067 GB, free: 403.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/2.351, allocations: 1.448 MB / 1.068 GB, free: 402.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.004373/2.355, allocations: 2.203 MB / 1.071 GB, free: 401.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003153/2.358, allocations: 1.287 MB / 1.072 GB, free: 400.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/2.358, allocations: 301.1 kB / 1.072 GB, free: 400.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008883/2.367, allocations: 5.774 MB / 1.078 GB, free: 397.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01106/2.378, allocations: 6.374 MB / 1.084 GB, free: 394.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01982/2.398, allocations: 12.46 MB / 1.096 GB, free: 387.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.55e-05/2.398, allocations: 0 / 1.096 GB, free: 387.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.03894/2.437, allocations: 16.7 MB / 1.112 GB, free: 372.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/2.437, allocations: 8 kB / 1.112 GB, free: 372.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/2.437, allocations: 19.81 kB / 1.112 GB, free: 372.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/2.452, allocations: 4.581 MB / 1.117 GB, free: 368.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009586/2.462, allocations: 1.597 MB / 1.119 GB, free: 366.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04825/2.51, allocations: 57.78 MB / 1.175 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007128/2.518, allocations: 315.6 kB / 1.175 GB, free: 305.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001648/2.519, allocations: 355.7 kB / 1.176 GB, free: 305.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0111/2.53, allocations: 7.238 MB / 1.183 GB, free: 298 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0089/2.539, allocations: 6.3 MB / 1.189 GB, free: 291.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01875/2.558, allocations: 12.33 MB / 1.201 GB, free: 279.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.816e-05/2.558, allocations: 7.938 kB / 1.201 GB, free: 279.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=693) (initialization_lambda0): time 0.03521/2.593, allocations: 16.56 MB / 1.217 GB, free: 262.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/2.593, allocations: 8 kB / 1.217 GB, free: 262.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/2.593, allocations: 12 kB / 1.217 GB, free: 262.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01418/2.608, allocations: 4.583 MB / 1.222 GB, free: 257.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008547/2.616, allocations: 1.53 MB / 1.223 GB, free: 256.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04709/2.663, allocations: 57.08 MB / 1.279 GB, free: 196.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006877/2.67, allocations: 319.5 kB / 1.279 GB, free: 195.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/2.672, allocations: 359.6 kB / 1.279 GB, free: 195.6 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 (612): * Single equations (assignments): 585 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 22 * 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): 4 systems {1, 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): 22 systems {(11,20,62.8%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (11,20,62.8%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002277/2.674, allocations: 497.3 kB / 1.28 GB, free: 195.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/2.676, allocations: 365.8 kB / 1.28 GB, free: 194.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04236/2.718, allocations: 35.18 MB / 1.315 GB, free: 159.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001467/2.718, allocations: 27.89 kB / 1.315 GB, free: 159.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/2.718, allocations: 0 / 1.315 GB, free: 159.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004629/2.723, allocations: 1.79 MB / 1.316 GB, free: 157.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/2.724, allocations: 215.8 kB / 1.317 GB, free: 157.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00603/2.73, allocations: 451.3 kB / 1.317 GB, free: 156.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001287/2.732, allocations: 0.5038 MB / 1.317 GB, free: 156.4 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03359/2.765, allocations: 16.55 MB / 1.334 GB, free: 139.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02484/2.79, allocations: 19.52 MB / 1.353 GB, free: 120.2 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007691/2.798, allocations: 6.548 MB / 1.359 GB, free: 113.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001981/2.8, allocations: 1.176 MB / 1.36 GB, free: 112.5 MB / 0.8106 GB Notification: Performance of Backend: time 7.92e-07/2.8, allocations: 0 / 1.36 GB, free: 112.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.04439/2.844, allocations: 23.28 MB / 1.383 GB, free: 88.81 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01994/2.864, allocations: 12.93 MB / 1.396 GB, free: 75.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.6128/3.477, allocations: 269.9 MB / 1.659 GB, free: 235 MB / 0.8106 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.makefile (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator.pipe 2>&1)