Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter.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.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6679/0.6679, allocations: 150.8 MB / 166.7 MB, free: 15.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.05e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, 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.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter): time 1.311/1.43, allocations: 295.6 MB / 0.5205 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3895/1.82, allocations: 190.4 MB / 0.7064 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005361/1.82, allocations: 12.09 kB / 0.7064 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003968/1.821, allocations: 153 kB / 0.7066 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005162/1.821, allocations: 268.7 kB / 0.7068 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02032/1.842, allocations: 9.657 MB / 0.7163 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007542/1.842, allocations: 1.005 MB / 0.7172 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/1.843, allocations: 491.8 kB / 0.7177 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/1.843, allocations: 356.6 kB / 0.718 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/1.843, allocations: 389.2 kB / 0.7184 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/1.844, allocations: 41.62 kB / 0.7185 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02606/1.87, allocations: 21.43 MB / 0.7394 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001729/1.87, allocations: 153.5 kB / 0.7395 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004347/1.87, allocations: 464.1 kB / 0.74 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008104/1.878, allocations: 7.599 MB / 0.7474 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.878, allocations: 0.5312 kB / 0.7474 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/1.878, allocations: 5.297 kB / 0.7474 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.278e-05/1.878, allocations: 0 / 0.7474 GB, free: 15.59 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003801/1.882, allocations: 2.217 MB / 0.7496 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/1.882, allocations: 13.72 kB / 0.7496 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/1.882, allocations: 115.1 kB / 0.7497 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/1.883, allocations: 477 kB / 0.7501 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/1.883, allocations: 71.97 kB / 0.7502 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/1.883, allocations: 94.25 kB / 0.7503 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/1.884, allocations: 1.038 MB / 0.7513 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/1.884, allocations: 6.5 kB / 0.7513 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/1.884, allocations: 37.5 kB / 0.7514 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/1.884, allocations: 33.97 kB / 0.7514 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009535/1.885, allocations: 0.6925 MB / 0.7521 GB, free: 13.28 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.004386/1.89, allocations: 6.738 MB / 0.7586 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/1.89, allocations: 315.5 kB / 0.7589 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/1.89, allocations: 163.9 kB / 0.7591 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.55/2.44, allocations: 233.4 MB / 0.987 GB, free: 454 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/2.44, allocations: 37.09 kB / 0.9871 GB, free: 454 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=48): time 2.195e-06/2.44, allocations: 0 / 0.9871 GB, free: 454 MB / 0.8106 GB Notification: Performance of matching and sorting (n=48): time 0.003078/2.443, allocations: 1.352 MB / 0.9884 GB, free: 453.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/2.443, allocations: 58.06 kB / 0.9884 GB, free: 453.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/2.444, allocations: 0.5233 MB / 0.989 GB, free: 453.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/2.444, allocations: 32.48 kB / 0.989 GB, free: 453.4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/2.444, allocations: 468.5 kB / 0.9894 GB, free: 453.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/2.444, allocations: 167.8 kB / 0.9896 GB, free: 453.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/2.444, allocations: 79.16 kB / 0.9897 GB, free: 453.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.999e-05/2.444, allocations: 362.2 kB / 0.99 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/2.445, allocations: 173 kB / 0.9902 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/2.445, allocations: 469.7 kB / 0.9906 GB, free: 452.4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/2.445, allocations: 0.6864 MB / 0.9913 GB, free: 452 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/2.445, allocations: 2.812 kB / 0.9913 GB, free: 452 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001427/2.447, allocations: 0.9547 MB / 0.9922 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/2.447, allocations: 11.83 kB / 0.9922 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/2.447, allocations: 10.34 kB / 0.9922 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009771/2.448, allocations: 0.6083 MB / 0.9928 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/2.448, allocations: 90.11 kB / 0.9929 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009191/2.449, allocations: 2.001 MB / 0.9949 GB, free: 450.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/2.449, allocations: 134.8 kB / 0.995 GB, free: 450.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/2.45, allocations: 42.62 kB / 0.9951 GB, free: 450.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 19 (steamExtractionSplitter.Cex.ftype,steamExtractionSplitter.Cs.ftype,sourceQ.C.ftype,steamExtractionSplitter.fluids[1],singularPressureLoss2.fluid,sinkP.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,sink.fluid,sourceQ.fluid1,steamExtractionSplitter.Cex.diff_on_2,steamExtractionSplitter.Cex.diff_on_1,singularPressureLoss3.C2.diff_on_1,steamExtractionSplitter.Cs.diff_on_2,steamExtractionSplitter.Cs.diff_on_1,singularPressureLoss1.C2.diff_on_1,steamExtractionSplitter.Ce.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss2.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002115/2.45, allocations: 230.5 kB / 0.9953 GB, free: 450 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/2.45, allocations: 56.81 kB / 0.9953 GB, free: 449.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/2.451, allocations: 0.7037 MB / 0.996 GB, free: 449.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/2.451, allocations: 13.52 kB / 0.996 GB, free: 449.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/2.451, allocations: 1.828 kB / 0.996 GB, free: 449.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/2.451, allocations: 3 kB / 0.996 GB, free: 449.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/2.451, allocations: 0.6143 MB / 0.9966 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/2.452, allocations: 4.984 kB / 0.9966 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/2.452, allocations: 11.97 kB / 0.9966 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008451/2.452, allocations: 0.588 MB / 0.9972 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/2.452, allocations: 12.61 kB / 0.9972 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008658/2.453, allocations: 1.992 MB / 0.9992 GB, free: 448 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/2.453, allocations: 0 / 0.9992 GB, free: 448 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009247/2.454, allocations: 0.6431 MB / 0.9998 GB, free: 447.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/2.454, allocations: 165 kB / 1 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/2.454, allocations: 5.281 kB / 1 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/2.455, allocations: 9.75 kB / 1 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/2.455, allocations: 13.3 kB / 1 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/2.455, allocations: 12.09 kB / 1 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002971/2.455, allocations: 360.7 kB / 1 GB, free: 447.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/2.455, allocations: 4 kB / 1 GB, free: 447.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002897/2.458, allocations: 1.641 MB / 1.002 GB, free: 447.5 MB / 0.8106 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 (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004482/2.462, allocations: 2.385 MB / 1.004 GB, free: 447.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007505/2.463, allocations: 0.5346 MB / 1.005 GB, free: 447.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/2.463, allocations: 0 / 1.005 GB, free: 447.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/2.463, allocations: 254.7 kB / 1.005 GB, free: 447.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/2.464, allocations: 174 kB / 1.005 GB, free: 447.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/2.465, allocations: 1.583 MB / 1.007 GB, free: 446.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/2.466, allocations: 0.9444 MB / 1.008 GB, free: 445.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/2.466, allocations: 49.47 kB / 1.008 GB, free: 445.4 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/2.466, allocations: 0 / 1.008 GB, free: 445.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.03261/2.498, allocations: 42.35 MB / 1.049 GB, free: 413.1 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter.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.TestSteamExtractionSplitterCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitterCalcHelperMain.o] Error 1