Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.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.Book.SimpleExamples.Volume.TestMixer3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6907/0.6907, allocations: 150.8 MB / 166.7 MB, free: 15.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.648e-06/9.649e-06, allocations: 0 / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 31.98 MB / 237.4 MB, free: 5.668 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.Book.SimpleExamples.Volume.TestMixer3): time 1.324/1.442, allocations: 296.1 MB / 0.521 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3858/1.828, allocations: 186.9 MB / 0.7035 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006218/1.828, allocations: 22 kB / 0.7035 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002632/1.828, allocations: 95.64 kB / 0.7036 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008732/1.829, allocations: 324 kB / 0.7039 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01999/1.849, allocations: 9.143 MB / 0.7128 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001111/1.85, allocations: 1.265 MB / 0.7141 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005799/1.851, allocations: 0.6201 MB / 0.7147 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004864/1.852, allocations: 427.4 kB / 0.7151 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/1.852, allocations: 486.5 kB / 0.7155 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.583e-05/1.852, allocations: 53.06 kB / 0.7156 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02479/1.877, allocations: 20.26 MB / 0.7354 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/1.877, allocations: 189.8 kB / 0.7355 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004853/1.878, allocations: 0.5592 MB / 0.7361 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00691/1.884, allocations: 7.43 MB / 0.7434 GB, free: 176 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/1.884, allocations: 1.75 kB / 0.7434 GB, free: 176 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/1.884, allocations: 0 / 0.7434 GB, free: 176 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.033e-05/1.885, allocations: 3.531 kB / 0.7434 GB, free: 176 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: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.004569/1.889, allocations: 2.288 MB / 0.7456 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/1.889, allocations: 9.375 kB / 0.7456 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/1.889, allocations: 145.1 kB / 0.7457 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/1.89, allocations: 0.5804 MB / 0.7463 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/1.89, allocations: 95.12 kB / 0.7464 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/1.89, allocations: 121.9 kB / 0.7465 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/1.892, allocations: 1.29 MB / 0.7478 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/1.892, allocations: 5.875 kB / 0.7478 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/1.892, allocations: 59.97 kB / 0.7478 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/1.892, allocations: 32.22 kB / 0.7479 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/1.893, allocations: 0.84 MB / 0.7487 GB, free: 13.62 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.01099/1.904, allocations: 12.2 MB / 0.7606 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/1.905, allocations: 300 kB / 0.7609 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/1.905, allocations: 117.1 kB / 0.761 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.392/2.297, allocations: 212.1 MB / 0.9681 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/2.297, allocations: 39.97 kB / 0.9681 GB, free: 4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.933e-06/2.297, allocations: 0 / 0.9681 GB, free: 4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.002706/2.3, allocations: 1.184 MB / 0.9693 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/2.3, allocations: 56.03 kB / 0.9694 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008089/2.3, allocations: 0.7005 MB / 0.97 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/2.3, allocations: 29.39 kB / 0.9701 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/2.301, allocations: 0.6142 MB / 0.9707 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/2.301, allocations: 119.8 kB / 0.9708 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/2.301, allocations: 98.53 kB / 0.9709 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001285/2.301, allocations: 376.4 kB / 0.9712 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/2.301, allocations: 165.5 kB / 0.9714 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/2.302, allocations: 0.5918 MB / 0.972 GB, free: 368 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1409/2.443, allocations: 0.7956 MB / 0.9727 GB, free: 461.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/2.443, allocations: 5.969 kB / 0.9727 GB, free: 461.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00196/2.445, allocations: 1.036 MB / 0.9738 GB, free: 461.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/2.445, allocations: 11.75 kB / 0.9738 GB, free: 461.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/2.445, allocations: 14.72 kB / 0.9738 GB, free: 461.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008676/2.446, allocations: 270.1 kB / 0.974 GB, free: 461.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/2.446, allocations: 144.9 kB / 0.9742 GB, free: 461.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/2.448, allocations: 3.716 MB / 0.9778 GB, free: 457.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/2.448, allocations: 137.8 kB / 0.9779 GB, free: 457.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/2.448, allocations: 51.44 kB / 0.978 GB, free: 457.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 26 (sourceQ.C.ftype,mixer2_2.Cs.ftype,sourceP3.C.ftype,sourceP2.C.ftype,mixer2_2.fluids[1],singularPressureLoss3.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,sinkP1.fluid,singularPressureLoss6.fluid,sourceQ.fluid1,sourceP3.fluid1,sourceP2.fluid1,mixer2_2.fluid1,mixer2_2.Ce3.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss6.C2.diff_on_1,mixer2_2.Cs.diff_on_2,singularPressureLoss5.C2.diff_on_1,singularPressureLoss4.C2.diff_on_1,mixer2_2.Ce2.diff_on_2,sourceP3.C.diff_on_2,mixer2_2.Ce1.diff_on_2,sourceP2.C.diff_on_2,mixer2_2.Cs.diff_on_1,singularPressureLoss3.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003128/2.449, allocations: 269.3 kB / 0.9782 GB, free: 457.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-05/2.449, allocations: 76.62 kB / 0.9783 GB, free: 457.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/2.45, allocations: 0.5915 MB / 0.9789 GB, free: 457.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/2.45, allocations: 5.109 kB / 0.9789 GB, free: 457.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/2.45, allocations: 5.188 kB / 0.9789 GB, free: 457.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/2.45, allocations: 3.5 kB / 0.9789 GB, free: 457.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/2.452, allocations: 1.271 MB / 0.9802 GB, free: 457.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/2.452, allocations: 1.25 kB / 0.9802 GB, free: 457.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/2.452, allocations: 18.94 kB / 0.9802 GB, free: 457.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000729/2.453, allocations: 239.2 kB / 0.9804 GB, free: 457.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/2.453, allocations: 12.91 kB / 0.9804 GB, free: 457.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/2.454, allocations: 3.672 MB / 0.984 GB, free: 453.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/2.454, allocations: 5.062 kB / 0.984 GB, free: 453.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/2.455, allocations: 0.6301 MB / 0.9846 GB, free: 453.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/2.456, allocations: 177.1 kB / 0.9848 GB, free: 453.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/2.456, allocations: 11.12 kB / 0.9848 GB, free: 453.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/2.456, allocations: 7.688 kB / 0.9848 GB, free: 453.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/2.456, allocations: 27.98 kB / 0.9848 GB, free: 453.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/2.456, allocations: 14.47 kB / 0.9848 GB, free: 453.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004262/2.456, allocations: 457.3 kB / 0.9853 GB, free: 453.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/2.456, allocations: 0 / 0.9853 GB, free: 453.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003271/2.46, allocations: 1.644 MB / 0.9869 GB, free: 453.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005523/2.465, allocations: 2.257 MB / 0.9891 GB, free: 453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009081/2.466, allocations: 0.6084 MB / 0.9897 GB, free: 452.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/2.466, allocations: 6.531 kB / 0.9897 GB, free: 452.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/2.467, allocations: 298.8 kB / 0.99 GB, free: 452.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/2.467, allocations: 194.5 kB / 0.9902 GB, free: 452.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/2.469, allocations: 1.816 MB / 0.9919 GB, free: 451.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/2.469, allocations: 0.998 MB / 0.9929 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/2.469, allocations: 64.33 kB / 0.993 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/2.469, allocations: 0 / 0.993 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.04087/2.51, allocations: 53.87 MB / 1.046 GB, free: 416.9 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.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.Book.SimpleExamples.Volume.TestMixer3CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3CalcHelperMain.o] Error 1