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.6824/0.6824, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.01e-05, allocations: 0 / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 31.99 MB / 237.4 MB, free: 5.387 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.293/1.412, allocations: 297.1 MB / 0.522 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3977/1.809, allocations: 197.5 MB / 0.7149 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007512/1.81, allocations: 22.59 kB / 0.715 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006724/1.811, allocations: 310.5 kB / 0.7153 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001072/1.812, allocations: 484.9 kB / 0.7157 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02396/1.836, allocations: 11.52 MB / 0.727 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001399/1.837, allocations: 1.818 MB / 0.7287 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006566/1.838, allocations: 0.8261 MB / 0.7295 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/1.838, allocations: 0.5915 MB / 0.7301 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/1.839, allocations: 0.679 MB / 0.7308 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.961e-05/1.839, allocations: 63.91 kB / 0.7308 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0264/1.865, allocations: 20.69 MB / 0.7511 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/1.866, allocations: 325.5 kB / 0.7514 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006585/1.866, allocations: 0.7307 MB / 0.7521 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01007/1.877, allocations: 8.487 MB / 0.7604 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/1.877, allocations: 2.906 kB / 0.7604 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.442e-06/1.877, allocations: 3.938 kB / 0.7604 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.752e-05/1.877, allocations: 0 / 0.7604 GB, free: 13.93 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.005041/1.882, allocations: 2.913 MB / 0.7632 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/1.882, allocations: 13.25 kB / 0.7632 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/1.882, allocations: 193 kB / 0.7634 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/1.883, allocations: 0.7912 MB / 0.7642 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/1.883, allocations: 104.9 kB / 0.7643 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/1.883, allocations: 143.9 kB / 0.7644 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/1.885, allocations: 1.495 MB / 0.7659 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/1.885, allocations: 2.906 kB / 0.7659 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/1.885, allocations: 57.97 kB / 0.7659 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/1.885, allocations: 45.73 kB / 0.766 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/1.887, allocations: 1.208 MB / 0.7672 GB, free: 10.82 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.06829/1.955, allocations: 37.27 MB / 0.8036 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/1.956, allocations: 0.765 MB / 0.8043 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/1.957, allocations: 428.2 kB / 0.8047 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.709/2.666, allocations: 347.8 MB / 1.144 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/2.666, allocations: 42.75 kB / 1.144 GB, free: 307 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=100): time 2.224e-06/2.666, allocations: 2.078 kB / 1.144 GB, free: 307 MB / 0.8106 GB Notification: Performance of matching and sorting (n=100): time 0.00359/2.669, allocations: 1.895 MB / 1.146 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/2.669, allocations: 85.67 kB / 1.146 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009598/2.67, allocations: 1.112 MB / 1.147 GB, free: 304.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/2.67, allocations: 37.52 kB / 1.147 GB, free: 304.6 MB / 0.8106 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.0003163/2.671, allocations: 0.6749 MB / 1.148 GB, free: 304.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/2.671, allocations: 347.6 kB / 1.148 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/2.671, allocations: 151.6 kB / 1.149 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 2.75e-05/2.671, allocations: 305.1 kB / 1.149 GB, free: 303.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/2.672, allocations: 455.4 kB / 1.149 GB, free: 303.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/2.672, allocations: 0.8198 MB / 1.15 GB, free: 302.3 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.007588/2.68, allocations: 3.332 MB / 1.153 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/2.68, allocations: 0 / 1.153 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.002267/2.682, allocations: 1.732 MB / 1.155 GB, free: 298.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/2.682, allocations: 12 kB / 1.155 GB, free: 298.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/2.682, allocations: 14.17 kB / 1.155 GB, free: 298.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/2.685, allocations: 0.7604 MB / 1.156 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008736/2.686, allocations: 347.4 kB / 1.156 GB, free: 297.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/2.688, allocations: 3.706 MB / 1.16 GB, free: 293.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/2.689, allocations: 142.1 kB / 1.16 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/2.689, allocations: 59.8 kB / 1.16 GB, free: 293.5 MB / 0.8106 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.0003896/2.689, allocations: 367.4 kB / 1.16 GB, free: 293.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/2.689, allocations: 126.3 kB / 1.16 GB, free: 293.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/2.691, allocations: 1.381 MB / 1.162 GB, free: 292.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001664/2.693, allocations: 1.105 MB / 1.163 GB, free: 291.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/2.693, allocations: 6.375 kB / 1.163 GB, free: 291.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/2.693, allocations: 3.984 kB / 1.163 GB, free: 291.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/2.696, allocations: 2.804 MB / 1.166 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/2.696, allocations: 0 / 1.166 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/2.697, allocations: 127.8 kB / 1.166 GB, free: 288.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/2.698, allocations: 306.5 kB / 1.166 GB, free: 287.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/2.698, allocations: 20 kB / 1.166 GB, free: 287.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000589/2.698, allocations: 1.692 MB / 1.168 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/2.698, allocations: 0 / 1.168 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/2.701, allocations: 1.851 MB / 1.17 GB, free: 284.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/2.701, allocations: 314.2 kB / 1.17 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.456e-05/2.701, allocations: 16 kB / 1.17 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/2.702, allocations: 35.92 kB / 1.17 GB, free: 283.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/2.702, allocations: 63.09 kB / 1.17 GB, free: 283.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/2.702, allocations: 27.98 kB / 1.17 GB, free: 283.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006/2.702, allocations: 0.7235 MB / 1.171 GB, free: 283 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/2.702, allocations: 0 / 1.171 GB, free: 283 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003113/2.705, allocations: 1.97 MB / 1.173 GB, free: 281.2 MB / 0.8106 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.004828/2.71, allocations: 2.802 MB / 1.175 GB, free: 278.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002009/2.712, allocations: 1.479 MB / 1.177 GB, free: 277.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/2.712, allocations: 0 / 1.177 GB, free: 277.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007778/2.713, allocations: 0.6842 MB / 1.177 GB, free: 276.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/2.714, allocations: 277.2 kB / 1.178 GB, free: 276.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/2.717, allocations: 3.532 MB / 1.181 GB, free: 272.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/2.717, allocations: 1.241 MB / 1.182 GB, free: 271.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/2.718, allocations: 91.42 kB / 1.182 GB, free: 271.6 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/2.718, allocations: 0 / 1.182 GB, free: 271.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.04607/2.764, allocations: 65.37 MB / 1.246 GB, free: 207 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizer.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestPressurizerCalcHelperMain.o] Error 1