Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC.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.Examples.SimpleExamples.TestPressurizer_CC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7437/0.7437, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.522e-05/1.528e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 31.97 MB / 236.8 MB, free: 5.406 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.Examples.SimpleExamples.TestPressurizer_CC): time 1.423/1.555, allocations: 296.4 MB / 0.5207 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4114/1.967, allocations: 188 MB / 0.7043 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007028/1.968, allocations: 16.41 kB / 0.7043 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007706/1.968, allocations: 297.2 kB / 0.7046 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/1.969, allocations: 393.5 kB / 0.705 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02211/1.992, allocations: 9.446 MB / 0.7142 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001482/1.993, allocations: 1.451 MB / 0.7156 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006121/1.994, allocations: 0.604 MB / 0.7162 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/1.994, allocations: 464.2 kB / 0.7166 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/1.995, allocations: 0.5043 MB / 0.7171 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/1.995, allocations: 40.81 kB / 0.7172 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02521/2.02, allocations: 18.29 MB / 0.735 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/2.02, allocations: 240 kB / 0.7353 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005904/2.021, allocations: 0.547 MB / 0.7358 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01646/2.037, allocations: 10.17 MB / 0.7457 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/2.037, allocations: 0.875 kB / 0.7457 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.492e-06/2.037, allocations: 0 / 0.7457 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.19e-05/2.037, allocations: 0 / 0.7457 GB, free: 15.47 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: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.004982/2.042, allocations: 2.374 MB / 0.748 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/2.042, allocations: 8.25 kB / 0.7481 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/2.043, allocations: 139 kB / 0.7482 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/2.043, allocations: 0.6205 MB / 0.7488 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/2.043, allocations: 63.53 kB / 0.7489 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/2.043, allocations: 88.86 kB / 0.7489 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/2.045, allocations: 1.106 MB / 0.75 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/2.045, allocations: 2.906 kB / 0.75 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-05/2.045, allocations: 34.47 kB / 0.7501 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/2.045, allocations: 40.44 kB / 0.7501 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/2.046, allocations: 0.7941 MB / 0.7509 GB, free: 13 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.004458/2.05, allocations: 5.473 MB / 0.7562 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009108/2.051, allocations: 0.6186 MB / 0.7568 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/2.052, allocations: 432.8 kB / 0.7572 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3513/2.403, allocations: 188.2 MB / 0.941 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/2.403, allocations: 41.78 kB / 0.941 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=123): time 2.344e-06/2.403, allocations: 0 / 0.941 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=123): time 0.004133/2.407, allocations: 1.969 MB / 0.943 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/2.407, allocations: 88.64 kB / 0.9431 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009004/2.408, allocations: 0.8785 MB / 0.9439 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/2.408, allocations: 37.08 kB / 0.9439 GB, free: 0.918 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Examples/SimpleExamples/TestPressurizer_CC.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/Examples/SimpleExamples/TestPressurizer_CC.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.0002855/2.409, allocations: 435.8 kB / 0.9444 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/2.409, allocations: 407.3 kB / 0.9448 GB, free: 300 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/2.409, allocations: 129.8 kB / 0.9449 GB, free: 208 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001213/2.409, allocations: 359.9 kB / 0.9452 GB, free: 15.87 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/2.41, allocations: 421.6 kB / 0.9456 GB, free: 15.61 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/2.41, allocations: 0.5951 MB / 0.9462 GB, free: 15.14 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.009121/2.419, allocations: 3.405 MB / 0.9495 GB, free: 12.47 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/2.419, allocations: 0 / 0.9495 GB, free: 12.47 MB / 0.795 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002211/2.422, allocations: 1.485 MB / 0.951 GB, free: 11.47 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/2.422, allocations: 8 kB / 0.951 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/2.422, allocations: 4 kB / 0.951 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003402/2.425, allocations: 0.978 MB / 0.9519 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/2.426, allocations: 260.7 kB / 0.9522 GB, free: 10.35 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/2.429, allocations: 3.823 MB / 0.9559 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/2.43, allocations: 111 kB / 0.956 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/2.43, allocations: 36 kB / 0.9561 GB, free: 6.473 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: 18 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.regulation_Niveau.pIsat.Integrateur1.x0,regulation_Niveau.pIsat.Integrateur1.x0,regulation_Niveau.pIsat.Integrateur1.reset.signal,sinkQ1.C.a,pressurizer.Cex.b,pressurizer.Cs.b,pressurizer.Cas.a,sinkQ.C.a,sourceP.C.b,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,SteamValve.C2.b,SteamValve.C1.a,FeedwaterValve_Spray.C2.b,FeedwaterValve_Spray.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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), (5,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0004469/2.43, allocations: 301.1 kB / 0.9564 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/2.431, allocations: 102.6 kB / 0.9565 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/2.433, allocations: 1.804 MB / 0.9582 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002039/2.435, allocations: 1.38 MB / 0.9596 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/2.435, allocations: 0 / 0.9596 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/2.435, allocations: 3.984 kB / 0.9596 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004915/2.44, allocations: 3.479 MB / 0.963 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/2.44, allocations: 0 / 0.963 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/2.441, allocations: 196.9 kB / 0.9632 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/2.443, allocations: 0.5244 MB / 0.9637 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/2.443, allocations: 31.98 kB / 0.9637 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/2.444, allocations: 1.905 MB / 0.9656 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/2.444, allocations: 8.016 kB / 0.9656 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/2.447, allocations: 2.283 MB / 0.9678 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/2.447, allocations: 318.9 kB / 0.9681 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/2.447, allocations: 27.98 kB / 0.9681 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/2.448, allocations: 57.75 kB / 0.9682 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/2.448, allocations: 79.73 kB / 0.9683 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/2.448, allocations: 35.98 kB / 0.9683 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006736/2.449, allocations: 0.6279 MB / 0.9689 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/2.449, allocations: 0 / 0.9689 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003447/2.452, allocations: 1.608 MB / 0.9705 GB, free: 7.543 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (104): * Single equations (assignments): 96 * 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.005034/2.457, allocations: 2.243 MB / 0.9727 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0029/2.46, allocations: 1.713 MB / 0.9743 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.46, allocations: 0 / 0.9743 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/2.462, allocations: 0.9156 MB / 0.9752 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/2.464, allocations: 364.4 kB / 0.9756 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1517/2.616, allocations: 3.34 MB / 0.9788 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/2.616, allocations: 1.213 MB / 0.98 GB, free: 457.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005114/2.617, allocations: 114.7 kB / 0.9801 GB, free: 457.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/2.617, allocations: 72.69 kB / 0.9802 GB, free: 457.4 MB / 0.8106 GB Notification: Performance of SimCode: time 4.5e-07/2.617, allocations: 0 / 0.9802 GB, free: 457.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.06123/2.678, allocations: 58.28 MB / 1.037 GB, free: 428.5 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC.pipe 2>&1) Environment - environmentSimulation: