Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001033, allocations: 102.9 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001482, allocations: 172.3 kB / 16.58 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7491/0.7491, allocations: 132.3 MB / 424.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 8 kB / 0.504 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5598/0.5602, allocations: 81.58 MB / 0.5837 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.761/1.321, allocations: 278.7 MB / 0.8559 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03341/1.355, allocations: 24.13 MB / 0.8794 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005834/1.361, allocations: 107.8 kB / 0.8795 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005198/1.366, allocations: 1.197 MB / 0.8807 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01608/1.382, allocations: 4.363 MB / 0.885 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007792/1.39, allocations: 1.969 MB / 0.8869 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01619/1.406, allocations: 10.43 MB / 0.8971 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008135/1.414, allocations: 2.547 MB / 0.8996 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01219/1.426, allocations: 3.204 MB / 0.9027 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007204/1.434, allocations: 2.829 MB / 0.9055 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001245/1.435, allocations: 152.9 kB / 0.9056 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0101/1.445, allocations: 2.407 MB / 0.908 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003216/1.448, allocations: 1.421 MB / 0.9093 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003073/1.451, allocations: 0.7683 MB / 0.9101 GB, free: 21.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009798/1.461, allocations: 4.749 MB / 0.9147 GB, free: 19.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/1.461, allocations: 2.844 kB / 0.9147 GB, free: 19.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.719e-06/1.461, allocations: 0 / 0.9147 GB, free: 19.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003866/1.462, allocations: 0 / 0.9147 GB, free: 19.54 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01092/1.473, allocations: 3.477 MB / 0.9181 GB, free: 17.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.473, allocations: 13.47 kB / 0.9181 GB, free: 17.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00652/1.479, allocations: 0.9361 MB / 0.9191 GB, free: 17.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006483/1.486, allocations: 2.391 MB / 0.9214 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/1.486, allocations: 276.2 kB / 0.9217 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008122/1.487, allocations: 297.8 kB / 0.9219 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006486/1.493, allocations: 3.349 MB / 0.9252 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/1.493, allocations: 5.406 kB / 0.9252 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/1.494, allocations: 111.6 kB / 0.9253 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/1.494, allocations: 112.1 kB / 0.9254 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004679/1.498, allocations: 2.786 MB / 0.9282 GB, free: 14.54 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.01766/1.516, allocations: 13.26 MB / 0.9411 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/1.519, allocations: 1.864 MB / 0.9429 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/1.52, allocations: 1.116 MB / 0.944 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004629/1.521, allocations: 322.6 kB / 0.9443 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.616e-05/1.521, allocations: 77.34 kB / 0.9444 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=186): time 3.997e-06/1.521, allocations: 0 / 0.9444 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of matching and sorting (n=186): time 0.005198/1.526, allocations: 2.765 MB / 0.9471 GB, free: 15.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.526, allocations: 69.41 kB / 0.9472 GB, free: 15.02 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/1.529, allocations: 1.979 MB / 0.9491 GB, free: 13.51 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002523/1.529, allocations: 73.2 kB / 0.9492 GB, free: 13.46 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.53, allocations: 1.412 MB / 0.9505 GB, free: 12.61 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007125/1.531, allocations: 0.66 MB / 0.9512 GB, free: 12.04 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/1.531, allocations: 41 kB / 0.9512 GB, free: 12.04 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.531, allocations: 391.1 kB / 0.9516 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/1.533, allocations: 0.7953 MB / 0.9524 GB, free: 11.16 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/1.534, allocations: 1.463 MB / 0.9538 GB, free: 9.762 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/1.536, allocations: 1.069 MB / 0.9548 GB, free: 9.113 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/1.536, allocations: 0 / 0.9548 GB, free: 9.113 MB / 0.67 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004018/1.54, allocations: 2.487 MB / 0.9573 GB, free: 7.395 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.00033/1.54, allocations: 476.1 kB / 0.9577 GB, free: 6.801 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/1.54, allocations: 12 kB / 0.9577 GB, free: 6.789 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.824e-05/1.54, allocations: 27.95 kB / 0.9578 GB, free: 6.762 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/1.543, allocations: 0.5573 MB / 0.9583 GB, free: 6.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/1.545, allocations: 4.156 MB / 0.9624 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/1.548, allocations: 380.7 kB / 0.9627 GB, free: 1.656 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/1.548, allocations: 88.23 kB / 0.9628 GB, free: 1.586 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.548, allocations: 4 kB / 0.9628 GB, free: 1.582 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003291/1.552, allocations: 2.223 MB / 0.965 GB, free: 172 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.552, allocations: 12.91 kB / 0.965 GB, free: 160 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/1.552, allocations: 29.86 kB / 0.965 GB, free: 132 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/1.553, allocations: 484.9 kB / 0.9655 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-05/1.553, allocations: 34.75 kB / 0.9655 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/1.557, allocations: 360 kB / 0.9659 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/1.557, allocations: 86.55 kB / 0.966 GB, free: 15.29 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 initialization (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001928/1.559, allocations: 0.8623 MB / 0.9668 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006585/1.559, allocations: 274.9 kB / 0.9671 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/1.563, allocations: 2.137 MB / 0.9691 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/1.563, allocations: 16 kB / 0.9692 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.563, allocations: 3.953 kB / 0.9692 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002459/1.565, allocations: 1.912 MB / 0.971 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00832/1.573, allocations: 5.218 MB / 0.9761 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.574, allocations: 4 kB / 0.9761 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/1.576, allocations: 0.5057 MB / 0.9766 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/1.576, allocations: 8 kB / 0.9766 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/1.576, allocations: 55.72 kB / 0.9767 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/1.578, allocations: 4.125 MB / 0.9807 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.578, allocations: 2.625 kB / 0.9807 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/1.583, allocations: 3.42 MB / 0.9841 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/1.584, allocations: 0.5765 MB / 0.9846 GB, free: 380 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/1.585, allocations: 43.55 kB / 0.9847 GB, free: 364 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/1.587, allocations: 256.4 kB / 0.9849 GB, free: 140 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/1.587, allocations: 111 kB / 0.985 GB, free: 40 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/1.587, allocations: 70.66 kB / 0.9851 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001986/1.589, allocations: 1.324 MB / 0.9864 GB, free: 15 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.122e-06/1.589, allocations: 3.938 kB / 0.9864 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004447/1.594, allocations: 1.729 MB / 0.9881 GB, free: 13.36 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * 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 (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007932/1.594, allocations: 374 kB / 0.9884 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005918/1.6, allocations: 3.334 MB / 0.9917 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.6, allocations: 4 kB / 0.9917 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/1.602, allocations: 1.053 MB / 0.9927 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007386/1.609, allocations: 1.615 MB / 0.9943 GB, free: 8.727 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.621, allocations: 8.111 MB / 1.002 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/1.623, allocations: 2.192 MB / 1.004 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.624, allocations: 246.6 kB / 1.005 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of SimCode: time 7.32e-07/1.624, allocations: 4 kB / 1.005 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of Templates: time 0.5164/2.14, allocations: 141.9 MB / 1.143 GB, free: 367.8 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.o] Error 1