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.6956/0.6956, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.328e-05/1.33e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 31.99 MB / 237.4 MB, free: 5.41 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.336/1.453, allocations: 296.4 MB / 0.5213 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3925/1.846, allocations: 188 MB / 0.7049 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/1.846, allocations: 15.69 kB / 0.7049 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007274/1.847, allocations: 295.7 kB / 0.7052 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009518/1.848, allocations: 390.7 kB / 0.7056 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02056/1.869, allocations: 9.443 MB / 0.7148 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001201/1.87, allocations: 1.453 MB / 0.7162 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005313/1.87, allocations: 0.6119 MB / 0.7168 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/1.871, allocations: 458.5 kB / 0.7172 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/1.871, allocations: 0.5077 MB / 0.7177 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.496e-05/1.871, allocations: 38.66 kB / 0.7178 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02255/1.894, allocations: 18.29 MB / 0.7356 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/1.894, allocations: 238.6 kB / 0.7359 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005463/1.895, allocations: 0.5519 MB / 0.7364 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006957/1.902, allocations: 7.05 MB / 0.7433 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/1.902, allocations: 2.938 kB / 0.7433 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/1.902, allocations: 0 / 0.7433 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.594e-05/1.902, allocations: 0 / 0.7433 GB, free: 0.5508 MB / 0.5762 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.004268/1.906, allocations: 2.37 MB / 0.7456 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/1.906, allocations: 11.28 kB / 0.7456 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/1.906, allocations: 134 kB / 0.7457 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/1.907, allocations: 0.623 MB / 0.7464 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/1.907, allocations: 66.72 kB / 0.7464 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/1.907, allocations: 86.59 kB / 0.7465 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/1.908, allocations: 1.101 MB / 0.7476 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/1.908, allocations: 6.125 kB / 0.7476 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/1.908, allocations: 31.34 kB / 0.7476 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/1.908, allocations: 39.19 kB / 0.7476 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/1.909, allocations: 0.793 MB / 0.7484 GB, free: 14.09 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.00431/1.914, allocations: 5.472 MB / 0.7538 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000832/1.914, allocations: 0.6165 MB / 0.7544 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/1.915, allocations: 431.1 kB / 0.7548 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3395/2.254, allocations: 188.2 MB / 0.9386 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/2.254, allocations: 34.75 kB / 0.9386 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=123): time 2.234e-06/2.254, allocations: 0 / 0.9386 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=123): time 0.004023/2.259, allocations: 1.97 MB / 0.9405 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/2.259, allocations: 91.41 kB / 0.9406 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009513/2.26, allocations: 0.8782 MB / 0.9415 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/2.26, allocations: 33.08 kB / 0.9415 GB, free: 2.867 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.0002909/2.26, allocations: 436 kB / 0.9419 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/2.26, allocations: 416.1 kB / 0.9423 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/2.26, allocations: 129.9 kB / 0.9424 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000116/2.26, allocations: 359.7 kB / 0.9428 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/2.261, allocations: 413.7 kB / 0.9432 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/2.262, allocations: 0.5994 MB / 0.9438 GB, free: 1.082 MB / 0.7794 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.008687/2.27, allocations: 3.4 MB / 0.9471 GB, free: 14.42 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/2.27, allocations: 0 / 0.9471 GB, free: 14.42 MB / 0.795 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002169/2.273, allocations: 1.483 MB / 0.9485 GB, free: 13.42 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/2.273, allocations: 6.031 kB / 0.9485 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/2.273, allocations: 4 kB / 0.9485 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003301/2.276, allocations: 0.9831 MB / 0.9495 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007673/2.277, allocations: 259.9 kB / 0.9497 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/2.28, allocations: 3.832 MB / 0.9535 GB, free: 8.648 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/2.28, allocations: 105.8 kB / 0.9536 GB, free: 8.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/2.281, allocations: 39.36 kB / 0.9536 GB, free: 8.523 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.000392/2.281, allocations: 299.8 kB / 0.9539 GB, free: 8.309 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/2.281, allocations: 106.6 kB / 0.954 GB, free: 8.203 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/2.284, allocations: 1.809 MB / 0.9558 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002066/2.286, allocations: 1.375 MB / 0.9571 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/2.286, allocations: 3.984 kB / 0.9571 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/2.286, allocations: 3.984 kB / 0.9571 GB, free: 5.738 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004927/2.291, allocations: 3.483 MB / 0.9605 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/2.291, allocations: 4 kB / 0.9605 GB, free: 2.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/2.291, allocations: 180.6 kB / 0.9607 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00153/2.293, allocations: 0.5438 MB / 0.9612 GB, free: 1.516 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/2.293, allocations: 28 kB / 0.9613 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/2.294, allocations: 1.904 MB / 0.9631 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.294, allocations: 4 kB / 0.9631 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/2.297, allocations: 2.29 MB / 0.9654 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/2.298, allocations: 314.9 kB / 0.9657 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-05/2.298, allocations: 24 kB / 0.9657 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/2.298, allocations: 43.83 kB / 0.9657 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/2.298, allocations: 83.73 kB / 0.9658 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/2.298, allocations: 37.84 kB / 0.9658 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006646/2.299, allocations: 0.6357 MB / 0.9665 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/2.299, allocations: 0 / 0.9665 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00303/2.302, allocations: 1.604 MB / 0.968 GB, free: 10.42 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.005328/2.307, allocations: 2.238 MB / 0.9702 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002779/2.31, allocations: 1.715 MB / 0.9719 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/2.31, allocations: 8.062 kB / 0.9719 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/2.312, allocations: 0.909 MB / 0.9728 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/2.314, allocations: 360.1 kB / 0.9731 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/2.317, allocations: 3.433 MB / 0.9765 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/2.318, allocations: 1.205 MB / 0.9777 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/2.318, allocations: 71.44 kB / 0.9777 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/2.318, allocations: 4 kB / 0.9777 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of Templates: time 0.1889/2.507, allocations: 57.51 MB / 1.034 GB, free: 431 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC.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.Examples.SimpleExamples.TestPressurizer_CCCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CCCalcHelperMain.o] Error 1