Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial.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.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6821/0.6821, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.189e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 31.98 MB / 237.4 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.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial): time 1.305/1.423, allocations: 296.6 MB / 0.5214 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1595/1.582, allocations: 186 MB / 0.7031 GB, free: 116 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/1.583, allocations: 4 kB / 0.7031 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006333/1.81, allocations: 155.2 kB / 0.7033 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008883/1.811, allocations: 324.9 kB / 0.7036 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0192/1.83, allocations: 9.056 MB / 0.7124 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001134/1.831, allocations: 1.375 MB / 0.7138 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/1.831, allocations: 478.4 kB / 0.7142 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/1.832, allocations: 475.9 kB / 0.7147 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/1.832, allocations: 472.1 kB / 0.7151 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.295e-05/1.832, allocations: 39.22 kB / 0.7151 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02405/1.856, allocations: 20.18 MB / 0.7349 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/1.857, allocations: 165 kB / 0.735 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005406/1.857, allocations: 0.539 MB / 0.7355 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007315/1.864, allocations: 7.241 MB / 0.7426 GB, free: 228 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/1.864, allocations: 0 / 0.7426 GB, free: 228 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/1.864, allocations: 0 / 0.7426 GB, free: 228 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.025e-05/1.864, allocations: 2.438 kB / 0.7426 GB, free: 228 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.004327/1.869, allocations: 2.335 MB / 0.7449 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/1.869, allocations: 15.69 kB / 0.7449 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/1.869, allocations: 126.9 kB / 0.745 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/1.869, allocations: 0.5065 MB / 0.7455 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/1.87, allocations: 124.1 kB / 0.7456 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/1.87, allocations: 96.16 kB / 0.7457 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/1.871, allocations: 1.206 MB / 0.7469 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/1.871, allocations: 5.531 kB / 0.7469 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/1.871, allocations: 39.5 kB / 0.747 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/1.871, allocations: 45.06 kB / 0.747 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/1.872, allocations: 0.8326 MB / 0.7478 GB, free: 13.63 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.0196/1.892, allocations: 15.47 MB / 0.7629 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/1.893, allocations: 0.768 MB / 0.7637 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006792/1.894, allocations: 489.5 kB / 0.7641 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2666/2.16, allocations: 151.8 MB / 0.9123 GB, free: 428 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008854/2.161, allocations: 0.5285 MB / 0.9129 GB, free: 32 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=141): time 2.244e-06/2.161, allocations: 0 / 0.9129 GB, free: 32 kB / 0.7481 GB Notification: Performance of matching and sorting (n=141): time 0.02081/2.182, allocations: 5.023 MB / 0.9178 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/2.182, allocations: 143.6 kB / 0.9179 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/2.183, allocations: 0.5865 MB / 0.9185 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/2.183, allocations: 37.08 kB / 0.9185 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/2.183, allocations: 417.9 kB / 0.9189 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/2.183, allocations: 465.5 kB / 0.9193 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/2.184, allocations: 120 kB / 0.9195 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001033/2.184, allocations: 356.3 kB / 0.9198 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/2.184, allocations: 343.8 kB / 0.9201 GB, free: 9.508 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/2.185, allocations: 0.6302 MB / 0.9207 GB, free: 8.926 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/2.186, allocations: 1.063 MB / 0.9218 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/2.186, allocations: 0 / 0.9218 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002154/2.188, allocations: 1.465 MB / 0.9232 GB, free: 7.156 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/2.189, allocations: 13.23 kB / 0.9232 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/2.189, allocations: 8 kB / 0.9232 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003285/2.192, allocations: 1.493 MB / 0.9247 GB, free: 5.781 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/2.192, allocations: 72.42 kB / 0.9248 GB, free: 5.723 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/2.194, allocations: 1.656 MB / 0.9264 GB, free: 4.465 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/2.195, allocations: 141.4 kB / 0.9265 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/2.195, allocations: 43.36 kB / 0.9266 GB, free: 4.305 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 40 ($PRE.idealCheckValve2.touvert,$whenCondition4,$PRE.idealCheckValve2.tferme,$whenCondition3,$PRE.idealCheckValve1.touvert,$whenCondition2,$PRE.idealCheckValve1.tferme,$whenCondition1,idealCheckValve2.tferme,idealCheckValve2.touvert,idealCheckValve2.ouvert,$PRE.idealCheckValve2.ouvert,idealCheckValve1.tferme,idealCheckValve1.touvert,idealCheckValve1.ouvert,$PRE.idealCheckValve1.ouvert,perteDP1.C2.b,perteDP1.C1.a,perteDP.C2.b,perteDP.C1.a,volumeC.Ce3.a,volumeC.Cs.b,volumeC.Ce2.a,volumeC.Ce1.a,idealCheckValve2.C1.a,idealCheckValve2.C2.b,idealCheckValve1.C1.a,idealCheckValve1.C2.b,volumeD.Cs3.b,volumeD.Cs2.b,volumeD.Cs1.b,volumeD.Ce.a,staticCentrifugalPump2.C2.b,staticCentrifugalPump2.C1.a,staticCentrifugalPump1.C2.b,staticCentrifugalPump1.C1.a,sourceP.C.b,puitsP.C.a,volumeC.Ce1.b,volumeD.Cs3.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(14,34)} Notification: Performance of prepare postOptimizeDAE: time 0.0002968/2.195, allocations: 250.6 kB / 0.9268 GB, free: 4.125 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/2.195, allocations: 90.78 kB / 0.9269 GB, free: 4.035 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/2.199, allocations: 2.222 MB / 0.929 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002131/2.201, allocations: 1.547 MB / 0.9306 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/2.201, allocations: 0 / 0.9306 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/2.201, allocations: 7.984 kB / 0.9306 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004601/2.206, allocations: 3.642 MB / 0.9341 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.206, allocations: 0 / 0.9341 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/2.206, allocations: 152.6 kB / 0.9343 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/2.208, allocations: 1.04 MB / 0.9353 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/2.209, allocations: 31.98 kB / 0.9353 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/2.21, allocations: 1.505 MB / 0.9368 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/2.21, allocations: 0 / 0.9368 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/2.214, allocations: 2.39 MB / 0.9391 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/2.214, allocations: 294.1 kB / 0.9394 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.874e-05/2.214, allocations: 27.98 kB / 0.9394 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/2.214, allocations: 63.88 kB / 0.9395 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/2.215, allocations: 81.19 kB / 0.9396 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/2.215, allocations: 41.84 kB / 0.9396 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003901/2.215, allocations: 419.1 kB / 0.94 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/2.215, allocations: 4 kB / 0.94 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003285/2.218, allocations: 1.709 MB / 0.9417 GB, free: 6.562 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volumeD.h,volumeC.h) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCheckValve1.ouvert,idealCheckValve1.touvert,idealCheckValve1.tferme,idealCheckValve2.ouvert,idealCheckValve2.touvert,idealCheckValve2.tferme) * Number of discrete states: 4 (idealCheckValve2.touvert,idealCheckValve2.tferme,idealCheckValve1.touvert,idealCheckValve1.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(11,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004784/2.223, allocations: 2.362 MB / 0.944 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002546/2.226, allocations: 1.636 MB / 0.9456 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/2.226, allocations: 0 / 0.9456 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/2.227, allocations: 0.8121 MB / 0.9464 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/2.229, allocations: 423.7 kB / 0.9468 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/2.232, allocations: 3.017 MB / 0.9497 GB, free: 14.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/2.233, allocations: 1.163 MB / 0.9509 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/2.233, allocations: 75.42 kB / 0.9509 GB, free: 13.32 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/2.233, allocations: 0 / 0.9509 GB, free: 13.32 MB / 0.795 GB Notification: Performance of Templates: time 0.1746/2.407, allocations: 41.83 MB / 0.9918 GB, free: 456 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomial.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.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomialCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test1_polynomialCalcHelperMain.o] Error 1