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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestPressurizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestPressurizer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7553/0.7553, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.259e-05/1.26e-05, allocations: 0 / 204.9 MB, free: 9.957 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1295, allocations: 31.99 MB / 236.9 MB, free: 5.398 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.448/1.578, allocations: 298.1 MB / 0.5225 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4336/2.012, allocations: 197.5 MB / 0.7154 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006822/2.012, allocations: 22.5 kB / 0.7154 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006056/2.013, allocations: 310.9 kB / 0.7157 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008207/2.014, allocations: 484.7 kB / 0.7161 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02575/2.04, allocations: 11.53 MB / 0.7274 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001732/2.041, allocations: 1.82 MB / 0.7292 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007303/2.042, allocations: 0.828 MB / 0.73 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/2.043, allocations: 0.5874 MB / 0.7306 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005238/2.043, allocations: 0.6761 MB / 0.7312 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/2.043, allocations: 63.56 kB / 0.7313 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02904/2.072, allocations: 20.69 MB / 0.7515 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004007/2.073, allocations: 324.5 kB / 0.7518 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007496/2.073, allocations: 0.7354 MB / 0.7525 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02188/2.095, allocations: 12.04 MB / 0.7643 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/2.095, allocations: 0 / 0.7643 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.064e-06/2.095, allocations: 3.531 kB / 0.7643 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.49e-05/2.095, allocations: 0 / 0.7643 GB, free: 12.64 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.005979/2.101, allocations: 2.914 MB / 0.7671 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/2.101, allocations: 9.844 kB / 0.7671 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/2.102, allocations: 207.2 kB / 0.7673 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/2.102, allocations: 194.1 kB / 0.7675 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009194/2.103, allocations: 0.7983 MB / 0.7683 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/2.103, allocations: 108.2 kB / 0.7684 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/2.103, allocations: 134.1 kB / 0.7685 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/2.105, allocations: 1.498 MB / 0.77 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/2.105, allocations: 4.562 kB / 0.77 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.903e-05/2.105, allocations: 60.86 kB / 0.77 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/2.105, allocations: 42.78 kB / 0.7701 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/2.107, allocations: 1.201 MB / 0.7713 GB, free: 9.449 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.07324/2.18, allocations: 37.27 MB / 0.8077 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/2.181, allocations: 0.7679 MB / 0.8084 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/2.182, allocations: 429 kB / 0.8088 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7577/2.939, allocations: 347.8 MB / 1.148 GB, free: 271.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/2.939, allocations: 41.14 kB / 1.149 GB, free: 271.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=100): time 2.384e-06/2.939, allocations: 0 / 1.149 GB, free: 271.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=100): time 0.004007/2.943, allocations: 1.888 MB / 1.15 GB, free: 270.2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/2.944, allocations: 85.67 kB / 1.15 GB, free: 270.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/2.945, allocations: 1.118 MB / 1.152 GB, free: 269.3 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/2.945, allocations: 41.33 kB / 1.152 GB, free: 269.3 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.0003583/2.945, allocations: 0.6752 MB / 1.152 GB, free: 268.8 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/2.945, allocations: 350.8 kB / 1.153 GB, free: 268.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/2.945, allocations: 152 kB / 1.153 GB, free: 268.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 2.934e-05/2.945, allocations: 301.1 kB / 1.153 GB, free: 268.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/2.946, allocations: 455.6 kB / 1.153 GB, free: 267.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/2.947, allocations: 0.8172 MB / 1.154 GB, free: 267.1 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.008286/2.955, allocations: 3.321 MB / 1.157 GB, free: 264.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/2.955, allocations: 4 kB / 1.157 GB, free: 264.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.002555/2.958, allocations: 1.737 MB / 1.159 GB, free: 263 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/2.958, allocations: 14.28 kB / 1.159 GB, free: 263 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/2.958, allocations: 12 kB / 1.159 GB, free: 263 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/2.961, allocations: 0.7524 MB / 1.16 GB, free: 262.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009474/2.962, allocations: 355.1 kB / 1.16 GB, free: 262 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/2.964, allocations: 3.703 MB / 1.164 GB, free: 258.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007262/2.965, allocations: 146.3 kB / 1.164 GB, free: 258.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/2.965, allocations: 64.66 kB / 1.164 GB, free: 258.2 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.0004691/2.965, allocations: 353.1 kB / 1.164 GB, free: 258 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/2.966, allocations: 128 kB / 1.165 GB, free: 257.9 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/2.968, allocations: 1.395 MB / 1.166 GB, free: 256.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001797/2.97, allocations: 1.104 MB / 1.167 GB, free: 255.7 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/2.97, allocations: 0 / 1.167 GB, free: 255.7 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/2.97, allocations: 3.984 kB / 1.167 GB, free: 255.7 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/2.973, allocations: 2.796 MB / 1.17 GB, free: 252.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/2.973, allocations: 0.6562 kB / 1.17 GB, free: 252.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/2.974, allocations: 131.8 kB / 1.17 GB, free: 252.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/2.975, allocations: 307.3 kB / 1.17 GB, free: 252.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/2.975, allocations: 23.98 kB / 1.17 GB, free: 252.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006455/2.976, allocations: 1.7 MB / 1.172 GB, free: 250.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/2.976, allocations: 0 / 1.172 GB, free: 250.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/2.978, allocations: 1.845 MB / 1.174 GB, free: 248.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/2.979, allocations: 307.6 kB / 1.174 GB, free: 248.4 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/2.979, allocations: 16 kB / 1.174 GB, free: 248.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/2.979, allocations: 38.77 kB / 1.174 GB, free: 248.3 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/2.98, allocations: 60.91 kB / 1.174 GB, free: 248.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/2.98, allocations: 31.98 kB / 1.174 GB, free: 248.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006821/2.98, allocations: 0.7196 MB / 1.175 GB, free: 247.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/2.98, allocations: 8 kB / 1.175 GB, free: 247.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003946/2.984, allocations: 1.964 MB / 1.177 GB, free: 245.7 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.009155/2.993, allocations: 5.033 MB / 1.182 GB, free: 241.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002312/2.996, allocations: 1.472 MB / 1.183 GB, free: 239.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.996, allocations: 4 kB / 1.183 GB, free: 239.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008414/2.997, allocations: 0.6754 MB / 1.184 GB, free: 238.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/2.998, allocations: 284.8 kB / 1.184 GB, free: 238.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/3.012, allocations: 12.69 MB / 1.196 GB, free: 225.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/3.013, allocations: 1.239 MB / 1.198 GB, free: 224.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005474/3.013, allocations: 168.6 kB / 1.198 GB, free: 224 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/3.014, allocations: 0.5618 MB / 1.198 GB, free: 223.5 MB / 0.795 GB Notification: Performance of SimCode: time 4.61e-07/3.014, allocations: 0 / 1.198 GB, free: 223.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.127/9.141, allocations: 76.89 MB / 1.273 GB, free: 147.9 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/9.141, allocations: 301.2 kB / 1.274 GB, free: 147.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.932/14.07, allocations: 7.938 kB / 1.274 GB, free: 147.5 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestPressurizer_fmu --startTime=0 --stopTime=3000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestPressurizer.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer.pipe 2>&1)