Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.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.SimpleExamples.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7373/0.7373, allocations: 150.8 MB / 166.7 MB, free: 15.46 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.266e-05/1.268e-05, allocations: 4 kB / 205.4 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 31.97 MB / 237.4 MB, free: 5.398 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.SimpleExamples.TestDynamicDrum): time 1.424/1.558, allocations: 299.6 MB / 0.5244 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4498/2.008, allocations: 199 MB / 0.7187 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006128/2.008, allocations: 22.34 kB / 0.7187 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006334/2.009, allocations: 346.4 kB / 0.7191 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001287/2.01, allocations: 0.9374 MB / 0.72 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02745/2.038, allocations: 11.99 MB / 0.7317 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00812/2.046, allocations: 11.59 MB / 0.743 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004803/2.051, allocations: 3.623 MB / 0.7466 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005393/2.056, allocations: 3.404 MB / 0.7499 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006613/2.063, allocations: 4.4 MB / 0.7542 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00203/2.065, allocations: 388.3 kB / 0.7545 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03752/2.102, allocations: 21.02 MB / 0.7751 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003887/2.106, allocations: 2.377 MB / 0.7774 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005685/2.112, allocations: 3.454 MB / 0.7808 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02023/2.132, allocations: 13.67 MB / 0.7941 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/2.132, allocations: 4 kB / 0.7941 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.525e-06/2.132, allocations: 0 / 0.7941 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001226/2.132, allocations: 2.531 kB / 0.7941 GB, free: 11.55 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1826 * Number of variables: 1826 Notification: Performance of Generate backend data structure: time 0.03029/2.163, allocations: 9.326 MB / 0.8032 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/2.163, allocations: 12.03 kB / 0.8032 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/2.164, allocations: 0.6566 MB / 0.8039 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/2.168, allocations: 2.475 MB / 0.8063 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002409/2.171, allocations: 2.332 MB / 0.8086 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009482/2.172, allocations: 492 kB / 0.809 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02368/2.195, allocations: 12.6 MB / 0.8214 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.956e-05/2.195, allocations: 6.625 kB / 0.8214 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006695/2.196, allocations: 208 kB / 0.8216 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/2.196, allocations: 187.9 kB / 0.8217 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0369/2.233, allocations: 17.92 MB / 0.8392 GB, free: 13 MB / 0.6544 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.1201/2.353, allocations: 66.28 MB / 0.904 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03121/2.384, allocations: 13.16 MB / 0.9168 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02006/2.405, allocations: 9.291 MB / 0.9259 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8062/3.211, allocations: 395.6 MB / 1.312 GB, free: 94.06 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/3.211, allocations: 105.2 kB / 1.312 GB, free: 93.99 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1251): time 8.946e-06/3.211, allocations: 0 / 1.312 GB, free: 93.99 MB / 0.795 GB Notification: Performance of matching and sorting (n=1251): time 0.06756/3.279, allocations: 31.77 MB / 1.343 GB, free: 63.88 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/3.279, allocations: 129.1 kB / 1.343 GB, free: 63.74 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/3.28, allocations: 1.617 MB / 1.345 GB, free: 62.14 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/3.282, allocations: 133.7 kB / 1.345 GB, free: 62 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/3.282, allocations: 1.189 MB / 1.346 GB, free: 60.82 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002909/3.285, allocations: 4.101 MB / 1.35 GB, free: 56.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/3.286, allocations: 0.7918 MB / 1.351 GB, free: 55.96 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.57e-05/3.286, allocations: 309.1 kB / 1.351 GB, free: 55.65 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01625/3.302, allocations: 8.101 MB / 1.359 GB, free: 47.54 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01812/3.32, allocations: 9.49 MB / 1.369 GB, free: 37.66 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03553/3.356, allocations: 17.6 MB / 1.386 GB, free: 19.61 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-05/3.356, allocations: 8 kB / 1.386 GB, free: 19.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.2327/3.589, allocations: 23.43 MB / 1.409 GB, free: 418.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/3.589, allocations: 19.67 kB / 1.409 GB, free: 418.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/3.589, allocations: 50.47 kB / 1.409 GB, free: 418.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05185/3.641, allocations: 18.36 MB / 1.427 GB, free: 418.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009535/3.651, allocations: 2.023 MB / 1.429 GB, free: 418.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03148/3.682, allocations: 30.85 MB / 1.459 GB, free: 403.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009513/3.692, allocations: 2.066 MB / 1.461 GB, free: 403.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007085/3.692, allocations: 390.3 kB / 1.461 GB, free: 403.4 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 29 (Drum.Cv.ftype,sourceP.C.ftype,Drum.Cd.ftype,TubeEcranBoucleEvaporatoire.C1.diff_on_2,Drum.Cd.diff_on_1,TubeEcranBoucleEvaporatoire.C2.diff_on_1,Drum.Cm.diff_on_2,Drum.Cs.ftype,Drum.Cs.diff_on_2,Drum.Ce3.ftype,Drum.Ce3.diff_on_1,Drum.Ce2.ftype,Drum.Ce2.diff_on_1,Drum.fluids[1],feedwaterValve.C2.diff_on_1,Drum.Cv.diff_on_2,feedwaterValve.fluid,steamValve.fluid,TubeEcranBoucleEvaporatoire.fluid,lumpedStraightPipe.fluid,sinkQ.fluid,sourceP.fluid1,Drum.Cv.diff_on_1,steamValve.C2.diff_on_1,Drum.Ce1.diff_on_2,sourceP.C.diff_on_2,Drum.Cs.diff_on_1,Drum.Ce3.diff_on_2,Drum.Ce2.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (511): * Single equations (assignments): 475 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 12 * 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): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (25,324)} Notification: Performance of prepare postOptimizeDAE: time 0.002574/3.695, allocations: 1.501 MB / 1.463 GB, free: 403.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008383/3.696, allocations: 496.8 kB / 1.463 GB, free: 403 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0483/3.744, allocations: 26.9 MB / 1.489 GB, free: 380.1 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04229/3.786, allocations: 23.46 MB / 1.512 GB, free: 356.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/3.786, allocations: 7.938 kB / 1.512 GB, free: 356.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.268e-05/3.787, allocations: 43.83 kB / 1.512 GB, free: 356.6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08585/3.872, allocations: 43.37 MB / 1.555 GB, free: 313.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001287/3.873, allocations: 16 kB / 1.555 GB, free: 313.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009109/3.882, allocations: 2.053 MB / 1.557 GB, free: 311 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05543/3.937, allocations: 19.12 MB / 1.575 GB, free: 291.9 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002046/3.939, allocations: 287.7 kB / 1.576 GB, free: 291.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03266/3.972, allocations: 29.65 MB / 1.605 GB, free: 260.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/3.972, allocations: 0 / 1.605 GB, free: 260.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05171/4.024, allocations: 24.64 MB / 1.629 GB, free: 235.8 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003652/4.027, allocations: 2.02 MB / 1.631 GB, free: 233.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001368/4.029, allocations: 167.5 kB / 1.631 GB, free: 233.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008635/4.037, allocations: 1.512 MB / 1.632 GB, free: 232.1 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001496/4.039, allocations: 0.6081 MB / 1.633 GB, free: 231.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001091/4.04, allocations: 355.7 kB / 1.633 GB, free: 231.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001256/4.041, allocations: 1.033 MB / 1.634 GB, free: 230.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/4.041, allocations: 4 kB / 1.634 GB, free: 230.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009286/4.051, allocations: 3.964 MB / 1.638 GB, free: 226.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (597): * Single equations (assignments): 563 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (28,343)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008315/4.059, allocations: 2.983 MB / 1.641 GB, free: 223.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.04223/4.101, allocations: 23.5 MB / 1.664 GB, free: 199.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/4.101, allocations: 0 / 1.664 GB, free: 199.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02278/4.124, allocations: 12.72 MB / 1.676 GB, free: 186.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01119/4.135, allocations: 2.074 MB / 1.678 GB, free: 184.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2287/4.364, allocations: 29.43 MB / 1.707 GB, free: 402.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003369/4.367, allocations: 3.983 MB / 1.711 GB, free: 402 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003154/4.37, allocations: 0.5821 MB / 1.712 GB, free: 402 MB / 0.795 GB Notification: Performance of SimCode: time 8.62e-07/4.37, allocations: 0 / 1.712 GB, free: 402 MB / 0.795 GB Notification: Performance of Templates: time 0.4754/4.846, allocations: 419 MB / 2.121 GB, free: 282.6 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.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.SimpleExamples.TestDynamicDrumCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrumCalcHelperMain.o] Error 1