Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8857/0.8857, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.231e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1892, allocations: 31.98 MB / 236.8 MB, free: 5.449 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer): time 1.795/1.985, allocations: 296.7 MB / 0.521 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6391/2.624, allocations: 197.3 MB / 0.7137 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/2.625, allocations: 19.81 kB / 0.7137 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009405/2.626, allocations: 211.7 kB / 0.7139 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/2.627, allocations: 384.6 kB / 0.7143 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04181/2.669, allocations: 11.41 MB / 0.7254 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00289/2.672, allocations: 1.54 MB / 0.7269 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000939/2.673, allocations: 0.6173 MB / 0.7275 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009728/2.674, allocations: 0.5119 MB / 0.728 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/2.675, allocations: 0.5549 MB / 0.7286 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.166e-05/2.675, allocations: 56.41 kB / 0.7286 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04286/2.718, allocations: 20.6 MB / 0.7487 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005782/2.718, allocations: 232.3 kB / 0.749 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009986/2.719, allocations: 0.6089 MB / 0.7496 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03584/2.755, allocations: 11.61 MB / 0.7609 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/2.755, allocations: 0 / 0.7609 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.685e-06/2.755, allocations: 0 / 0.7609 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.991e-05/2.755, allocations: 0 / 0.7609 GB, free: 13.22 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.008991/2.764, allocations: 2.617 MB / 0.7635 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/2.765, allocations: 13.66 kB / 0.7635 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/2.765, allocations: 152.3 kB / 0.7636 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/2.766, allocations: 0.5943 MB / 0.7642 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/2.766, allocations: 88.5 kB / 0.7643 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/2.767, allocations: 115.5 kB / 0.7644 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/2.769, allocations: 1.286 MB / 0.7656 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.709e-05/2.769, allocations: 4.781 kB / 0.7656 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/2.769, allocations: 48.59 kB / 0.7657 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.129e-05/2.769, allocations: 37.14 kB / 0.7657 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/2.771, allocations: 0.9902 MB / 0.7667 GB, free: 10.46 MB / 0.5919 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.0834/2.855, allocations: 36.63 MB / 0.8025 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/2.856, allocations: 0.5901 MB / 0.803 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007022/2.857, allocations: 346.2 kB / 0.8034 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9244/3.781, allocations: 347.8 MB / 1.143 GB, free: 307.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.311e-05/3.781, allocations: 42.92 kB / 1.143 GB, free: 307.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=84): time 5.199e-06/3.781, allocations: 0 / 1.143 GB, free: 307.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=84): time 0.004764/3.786, allocations: 1.578 MB / 1.145 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/3.786, allocations: 59.84 kB / 1.145 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/3.787, allocations: 0.7582 MB / 1.145 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/3.787, allocations: 37.52 kB / 1.145 GB, free: 305.8 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Examples/SimpleExamples/TestPressurizer.mo:6:3-7:27:writable] Warning: The parameter OUVfeedwaterValve has fixed = false and a binding equation OUVfeedwaterValve = 0.01, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Examples/SimpleExamples/TestPressurizer.mo:4:3-5:47:writable] Warning: The parameter Wch has fixed = false and a binding equation Wch = 290000.0, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. Notification: Performance of collectInitialEqns (initialization): time 0.0004639/3.788, allocations: 0.5493 MB / 1.146 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/3.788, allocations: 297.1 kB / 1.146 GB, free: 305.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/3.788, allocations: 112.8 kB / 1.146 GB, free: 305.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001373/3.788, allocations: 397.6 kB / 1.147 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/3.789, allocations: 295.2 kB / 1.147 GB, free: 304.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/3.79, allocations: 0.6309 MB / 1.148 GB, free: 303.9 MB / 0.8106 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.007596/3.797, allocations: 2.612 MB / 1.15 GB, free: 301.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/3.797, allocations: 4 kB / 1.15 GB, free: 301.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002409/3.8, allocations: 1.366 MB / 1.152 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/3.8, allocations: 12.12 kB / 1.152 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/3.8, allocations: 12 kB / 1.152 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003962/3.804, allocations: 1.24 MB / 1.153 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/3.804, allocations: 151.6 kB / 1.153 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/3.806, allocations: 2.307 MB / 1.155 GB, free: 297.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/3.807, allocations: 125.9 kB / 1.155 GB, free: 297.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/3.807, allocations: 47.81 kB / 1.155 GB, free: 297.2 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.pressurizer.P = 0.0 pressurizer.P = $START.pressurizer.P. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 17 (pressurizer.Cex.ftype,pressurizer.Cs.ftype,sourceP.C.ftype,pressurizer.fluids[1],FeedwaterValve.fluid,SteamValve.fluid,lumpedStraightPipe.fluid,sinkQ.fluid,sinkQ1.fluid,sourceP.fluid1,pressurizer.Cs.diff_on_1,SteamValve.C2.diff_on_1,pressurizer.Cex.diff_on_1,pressurizer.Cas.diff_on_2,sourceP.C.diff_on_2,pressurizer.Cs.diff_on_2,FeedwaterValve.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,4), (4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0004491/3.807, allocations: 273.3 kB / 1.156 GB, free: 297 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/3.807, allocations: 94.81 kB / 1.156 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/3.81, allocations: 1.152 MB / 1.157 GB, free: 296.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001708/3.811, allocations: 0.9072 MB / 1.158 GB, free: 295.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/3.811, allocations: 4 kB / 1.158 GB, free: 295.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/3.811, allocations: 4.547 kB / 1.158 GB, free: 295.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/3.815, allocations: 2.293 MB / 1.16 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/3.815, allocations: 7.984 kB / 1.16 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/3.816, allocations: 95.84 kB / 1.16 GB, free: 293.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/3.817, allocations: 308.5 kB / 1.16 GB, free: 293.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/3.817, allocations: 19.98 kB / 1.16 GB, free: 293.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008173/3.818, allocations: 1.693 MB / 1.162 GB, free: 291.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/3.818, allocations: 4.031 kB / 1.162 GB, free: 291.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/3.821, allocations: 1.482 MB / 1.163 GB, free: 289.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/3.821, allocations: 255.5 kB / 1.164 GB, free: 289.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/3.821, allocations: 22.06 kB / 1.164 GB, free: 289.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/3.822, allocations: 15.94 kB / 1.164 GB, free: 289.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/3.822, allocations: 56.58 kB / 1.164 GB, free: 289.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/3.822, allocations: 23.98 kB / 1.164 GB, free: 289.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006289/3.823, allocations: 0.4912 MB / 1.164 GB, free: 289 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.61e-07/3.823, allocations: 0.6562 kB / 1.164 GB, free: 289 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006987/3.83, allocations: 1.895 MB / 1.166 GB, free: 287.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pressurizer.y,pressurizer.P,pressurizer.hl,pressurizer.hv,pressurizer.Tp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,62.5%)} * Non-linear Jacobian (size): 0 systems * 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): 3 systems {(1,4), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01217/3.842, allocations: 2.767 MB / 1.169 GB, free: 285 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002453/3.844, allocations: 1.043 MB / 1.17 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/3.844, allocations: 0 / 1.17 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009114/3.845, allocations: 0.5603 MB / 1.17 GB, free: 283.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/3.847, allocations: 269.1 kB / 1.171 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/3.85, allocations: 2.743 MB / 1.173 GB, free: 280.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/3.851, allocations: 1.093 MB / 1.174 GB, free: 279.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005534/3.851, allocations: 139.1 kB / 1.175 GB, free: 279.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/3.852, allocations: 67.44 kB / 1.175 GB, free: 279.1 MB / 0.8106 GB Notification: Performance of SimCode: time 6.81e-07/3.852, allocations: 0 / 1.175 GB, free: 279.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.07831/3.93, allocations: 60.45 MB / 1.234 GB, free: 219.4 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer.pipe 2>&1) Environment - environmentSimulation: