Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.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.Test3_IF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6776/0.6776, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.192e-05/1.193e-05, allocations: 4 kB / 205.4 MB, free: 10.17 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.119, allocations: 31.97 MB / 237.4 MB, free: 5.402 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.Test3_IF97): time 1.294/1.413, allocations: 298.3 MB / 0.5231 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3881/1.801, allocations: 186.9 MB / 0.7056 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007481/1.802, allocations: 11 kB / 0.7056 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006769/1.803, allocations: 277.2 kB / 0.7059 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/1.804, allocations: 0.524 MB / 0.7064 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01964/1.824, allocations: 9.328 MB / 0.7155 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001578/1.825, allocations: 1.986 MB / 0.7174 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000529/1.826, allocations: 0.6704 MB / 0.7181 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005324/1.826, allocations: 0.6595 MB / 0.7187 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/1.827, allocations: 0.6687 MB / 0.7194 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.375e-05/1.827, allocations: 53.88 kB / 0.7194 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02422/1.851, allocations: 20.2 MB / 0.7392 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000254/1.851, allocations: 232.9 kB / 0.7394 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000825/1.852, allocations: 0.764 MB / 0.7401 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007825/1.86, allocations: 7.602 MB / 0.7476 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/1.86, allocations: 9.734 kB / 0.7476 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/1.86, allocations: 0 / 0.7476 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.296e-05/1.86, allocations: 0 / 0.7476 GB, free: 15.37 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: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.004901/1.865, allocations: 2.736 MB / 0.7502 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/1.865, allocations: 12.23 kB / 0.7502 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/1.865, allocations: 185.5 kB / 0.7504 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/1.866, allocations: 0.6602 MB / 0.7511 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/1.866, allocations: 94.08 kB / 0.7512 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.866, allocations: 121.1 kB / 0.7513 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/1.868, allocations: 1.674 MB / 0.7529 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/1.868, allocations: 2.906 kB / 0.7529 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/1.868, allocations: 59.44 kB / 0.753 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/1.868, allocations: 64.05 kB / 0.753 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/1.87, allocations: 1.172 MB / 0.7542 GB, free: 12.27 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.06792/1.938, allocations: 42.7 MB / 0.7959 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/1.939, allocations: 0.9025 MB / 0.7968 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008802/1.94, allocations: 0.619 MB / 0.7974 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2729/2.213, allocations: 151.8 MB / 0.9456 GB, free: 15.74 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/2.213, allocations: 42.59 kB / 0.9456 GB, free: 15.69 MB / 0.795 GB Notification: Performance of pre-optimization done (n=197): time 3.406e-06/2.213, allocations: 0 / 0.9456 GB, free: 15.69 MB / 0.795 GB Notification: Performance of matching and sorting (n=197): time 0.01573/2.229, allocations: 4.396 MB / 0.9499 GB, free: 11.96 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/2.229, allocations: 115.2 kB / 0.95 GB, free: 11.83 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/2.23, allocations: 0.8409 MB / 0.9508 GB, free: 11.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/2.23, allocations: 37.08 kB / 0.9509 GB, free: 11.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/2.23, allocations: 0.5681 MB / 0.9514 GB, free: 10.74 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003457/2.23, allocations: 0.6395 MB / 0.9521 GB, free: 10.18 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/2.231, allocations: 152.7 kB / 0.9522 GB, free: 10.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.984e-05/2.231, allocations: 305.1 kB / 0.9525 GB, free: 9.773 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008607/2.232, allocations: 496.1 kB / 0.953 GB, free: 9.457 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/2.233, allocations: 0.8241 MB / 0.9538 GB, free: 8.719 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/2.235, allocations: 1.441 MB / 0.9552 GB, free: 7.578 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/2.235, allocations: 4 kB / 0.9552 GB, free: 7.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.002904/2.238, allocations: 1.929 MB / 0.9571 GB, free: 5.691 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/2.238, allocations: 8 kB / 0.9571 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/2.238, allocations: 12 kB / 0.9571 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006857/2.245, allocations: 2.57 MB / 0.9596 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/2.245, allocations: 119.5 kB / 0.9597 GB, free: 2.992 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/2.248, allocations: 1.857 MB / 0.9615 GB, free: 1.113 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/2.248, allocations: 203 kB / 0.9617 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/2.248, allocations: 51.98 kB / 0.9618 GB, free: 0.8633 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 30 (volumeA.Cs2.b,volumeA.Cs1.b,volumeA.Ce2.a,volumeA.Ce1.a,volumeC.Ce3.a,volumeC.Cs.b,volumeC.Ce2.a,volumeC.Ce1.a,sinkP1.C.a,lumpedStraightPipe2.C2.b,lumpedStraightPipe2.C1.a,sinkP.C.a,controlValve4.C2.b,controlValve4.C1.a,controlValve3.C2.b,controlValve3.C1.a,controlValve2.C2.b,controlValve2.C1.a,controlValve1.C2.b,controlValve1.C1.a,controlValve.C2.b,controlValve.C1.a,lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,sourceP1.C.b,sourceP.C.b,volumeA.Ce1.b,volumeC.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(18,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0003676/2.249, allocations: 295.7 kB / 0.962 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/2.249, allocations: 126.2 kB / 0.9622 GB, free: 464 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0055/2.254, allocations: 5.733 MB / 0.9678 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002856/2.257, allocations: 2.042 MB / 0.9698 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/2.257, allocations: 0 / 0.9698 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/2.257, allocations: 11.97 kB / 0.9698 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00587/2.263, allocations: 4.755 MB / 0.9744 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/2.263, allocations: 4 kB / 0.9744 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006875/2.264, allocations: 243.5 kB / 0.9747 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004614/2.269, allocations: 2.009 MB / 0.9766 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/2.269, allocations: 35.98 kB / 0.9766 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1443/2.413, allocations: 1.859 MB / 0.9785 GB, free: 458.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/2.413, allocations: 0.5625 kB / 0.9785 GB, free: 458.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004486/2.417, allocations: 3.143 MB / 0.9815 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/2.418, allocations: 404.5 kB / 0.9819 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/2.418, allocations: 28.36 kB / 0.9819 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000708/2.419, allocations: 99.62 kB / 0.982 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/2.419, allocations: 104.3 kB / 0.9821 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/2.419, allocations: 43 kB / 0.9822 GB, free: 458.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007778/2.42, allocations: 0.694 MB / 0.9829 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/2.42, allocations: 0.6875 kB / 0.9829 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003648/2.424, allocations: 1.832 MB / 0.9847 GB, free: 458 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volumeC.h,volumeA.h) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 120 * 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 {(15,38)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006018/2.43, allocations: 2.344 MB / 0.9869 GB, free: 457.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003329/2.433, allocations: 2.229 MB / 0.9891 GB, free: 457.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/2.433, allocations: 0.5312 kB / 0.9891 GB, free: 457.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/2.435, allocations: 1.07 MB / 0.9902 GB, free: 457.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/2.438, allocations: 0.6687 MB / 0.9908 GB, free: 457.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/2.442, allocations: 4.167 MB / 0.9949 GB, free: 455.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/2.442, allocations: 1.394 MB / 0.9962 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/2.442, allocations: 92.23 kB / 0.9963 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/2.442, allocations: 3.938 kB / 0.9963 GB, free: 454.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.0419/2.484, allocations: 50.12 MB / 1.045 GB, free: 423.6 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97.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.Test3_IF97CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.Bench.Test3_IF97CalcHelperMain.o] Error 1