Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.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.Book.SimpleExamples.Volume.TestPressurizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8761/0.8761, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.756e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1657, allocations: 31.98 MB / 236.8 MB, free: 5.656 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.Book.SimpleExamples.Volume.TestPressurizer): time 1.65/1.816, allocations: 297.2 MB / 0.5214 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5325/2.349, allocations: 197.5 MB / 0.7143 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/2.35, allocations: 23.53 kB / 0.7144 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/2.351, allocations: 316.8 kB / 0.7147 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/2.353, allocations: 478.2 kB / 0.7151 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03414/2.387, allocations: 11.52 MB / 0.7264 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002548/2.39, allocations: 1.819 MB / 0.7281 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/2.391, allocations: 0.825 MB / 0.7289 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008142/2.391, allocations: 0.5952 MB / 0.7295 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006516/2.392, allocations: 0.673 MB / 0.7302 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/2.392, allocations: 63.69 kB / 0.7302 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03816/2.43, allocations: 20.69 MB / 0.7505 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008041/2.431, allocations: 322 kB / 0.7508 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/2.433, allocations: 0.7366 MB / 0.7515 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03686/2.469, allocations: 12.05 MB / 0.7632 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/2.47, allocations: 0 / 0.7632 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.435e-06/2.47, allocations: 0 / 0.7632 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.681e-05/2.47, allocations: 2.781 kB / 0.7633 GB, free: 12.65 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: 371 * Number of variables: 371 Notification: Performance of Generate backend data structure: time 0.007692/2.477, allocations: 2.911 MB / 0.7661 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/2.477, allocations: 9.875 kB / 0.7661 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/2.478, allocations: 189.5 kB / 0.7663 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/2.479, allocations: 0.8027 MB / 0.7671 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/2.479, allocations: 105 kB / 0.7672 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/2.479, allocations: 133.8 kB / 0.7673 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/2.481, allocations: 1.503 MB / 0.7688 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/2.481, allocations: 2.906 kB / 0.7688 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.697e-05/2.481, allocations: 60.97 kB / 0.7688 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/2.482, allocations: 39.77 kB / 0.7689 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/2.483, allocations: 1.211 MB / 0.77 GB, free: 9.547 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.07858/2.562, allocations: 37.27 MB / 0.8064 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/2.563, allocations: 0.7727 MB / 0.8072 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006057/2.564, allocations: 437.8 kB / 0.8076 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8485/3.412, allocations: 347.8 MB / 1.147 GB, free: 272.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/3.412, allocations: 39 kB / 1.147 GB, free: 272.6 MB / 0.795 GB Notification: Performance of pre-optimization done (n=100): time 2.795e-06/3.412, allocations: 0 / 1.147 GB, free: 272.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=100): time 0.004276/3.417, allocations: 1.881 MB / 1.149 GB, free: 271.1 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/3.417, allocations: 90.94 kB / 1.149 GB, free: 271 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/3.418, allocations: 1.117 MB / 1.15 GB, free: 270.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/3.418, allocations: 37.39 kB / 1.15 GB, free: 270.1 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Examples/Book/SimpleExamples/Volume/TestPressurizer.mo:6:3-7:38: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/Book/SimpleExamples/Volume/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.0004091/3.418, allocations: 0.6741 MB / 1.151 GB, free: 269.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/3.419, allocations: 355.9 kB / 1.151 GB, free: 269.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/3.419, allocations: 154 kB / 1.152 GB, free: 269.3 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/3.419, allocations: 301.1 kB / 1.152 GB, free: 269 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/3.419, allocations: 454.8 kB / 1.152 GB, free: 268.7 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/3.42, allocations: 0.8236 MB / 1.153 GB, free: 267.9 MB / 0.795 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.008672/3.429, allocations: 3.318 MB / 1.156 GB, free: 265.2 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/3.429, allocations: 4 kB / 1.156 GB, free: 265.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.002754/3.432, allocations: 1.742 MB / 1.158 GB, free: 263.9 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/3.432, allocations: 15.98 kB / 1.158 GB, free: 263.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/3.432, allocations: 8 kB / 1.158 GB, free: 263.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00294/3.435, allocations: 0.7474 MB / 1.159 GB, free: 263.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00098/3.436, allocations: 350.8 kB / 1.159 GB, free: 262.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/3.439, allocations: 3.715 MB / 1.163 GB, free: 259.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008071/3.439, allocations: 144.1 kB / 1.163 GB, free: 259.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/3.439, allocations: 59.05 kB / 1.163 GB, free: 259.1 MB / 0.795 GB Warning: Assuming fixed start value for the following 1 variables: regulation_Niveau.pIsat.Integrateur1.x0:DISCRETE(fixed = true protected = true ) type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.pressurizer.hv = 0.0 $DER.regulation_Niveau.pIsat.Integrateur1.x = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.regulation_Niveau.pIsat.Integrateur1.x0,regulation_Niveau.pIsat.Integrateur1.x0,regulation_Niveau.pIsat.Integrateur1.reset.signal,pressurizer.Cex.ftype,pressurizer.Cs.ftype,sourceP.C.ftype,pressurizer.fluids[1],FeedwaterValve_Spray.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_Spray.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {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): 3 systems {(1,4), (1,3), (4,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0006008/3.44, allocations: 359.4 kB / 1.163 GB, free: 258.8 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/3.44, allocations: 122.4 kB / 1.163 GB, free: 258.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/3.443, allocations: 1.392 MB / 1.165 GB, free: 257.4 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001853/3.445, allocations: 1.095 MB / 1.166 GB, free: 256.3 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/3.445, allocations: 7.938 kB / 1.166 GB, free: 256.3 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/3.445, allocations: 3.984 kB / 1.166 GB, free: 256.3 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/3.448, allocations: 2.806 MB / 1.169 GB, free: 253.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/3.448, allocations: 0 / 1.169 GB, free: 253.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/3.449, allocations: 127.8 kB / 1.169 GB, free: 253.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/3.45, allocations: 295 kB / 1.169 GB, free: 253 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/3.45, allocations: 23.06 kB / 1.169 GB, free: 253 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007363/3.451, allocations: 1.7 MB / 1.171 GB, free: 251.2 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/3.451, allocations: 0 / 1.171 GB, free: 251.2 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/3.454, allocations: 1.85 MB / 1.172 GB, free: 249.3 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/3.454, allocations: 311 kB / 1.173 GB, free: 249 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/3.454, allocations: 20.73 kB / 1.173 GB, free: 249 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/3.455, allocations: 31.92 kB / 1.173 GB, free: 248.9 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/3.455, allocations: 59 kB / 1.173 GB, free: 248.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/3.455, allocations: 31.98 kB / 1.173 GB, free: 248.9 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007773/3.456, allocations: 0.7274 MB / 1.174 GB, free: 248.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/3.456, allocations: 0 / 1.174 GB, free: 248.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005537/3.461, allocations: 1.97 MB / 1.175 GB, free: 246.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (pressurizer.y,pressurizer.P,pressurizer.hl,pressurizer.hv,pressurizer.Tp,regulation_Niveau.pIsat.Integrateur1.x,regulation_Niveau.pT1_1.x) * Number of discrete variables: 1 (regulation_Niveau.pIsat.Integrateur1.x0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 1 * 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.008391/3.47, allocations: 2.792 MB / 1.178 GB, free: 244 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002973/3.473, allocations: 1.48 MB / 1.18 GB, free: 242.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/3.473, allocations: 4.25 kB / 1.18 GB, free: 242.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009571/3.474, allocations: 0.673 MB / 1.18 GB, free: 241.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/3.475, allocations: 278.6 kB / 1.181 GB, free: 241.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/3.479, allocations: 3.475 MB / 1.184 GB, free: 238.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/3.479, allocations: 1.243 MB / 1.185 GB, free: 236.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006061/3.48, allocations: 180.8 kB / 1.185 GB, free: 236.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/3.48, allocations: 75.44 kB / 1.185 GB, free: 236.6 MB / 0.795 GB Notification: Performance of SimCode: time 5.51e-07/3.48, allocations: 0 / 1.185 GB, free: 236.6 MB / 0.795 GB Notification: Performance of Templates: time 0.07425/3.555, allocations: 62.63 MB / 1.247 GB, free: 174.8 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer.pipe 2>&1) Environment - environmentSimulation: