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.0007288/0.000729, allocations: 91.92 kB / 16.02 MB, free: 80 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.000767/0.0007672, allocations: 185.1 kB / 16.92 MB, free: 6.922 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7472/0.7472, allocations: 132.3 MB / 424.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003188, allocations: 8.75 kB / 0.5046 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4273, allocations: 81.58 MB / 0.5843 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6583/1.086, allocations: 298.7 MB / 0.876 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02904/1.115, allocations: 25.7 MB / 0.9011 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005102/1.12, allocations: 107.7 kB / 0.9012 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004818/1.125, allocations: 1.547 MB / 0.9027 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01542/1.14, allocations: 5.613 MB / 0.9082 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006518/1.147, allocations: 2.38 MB / 0.9105 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01431/1.161, allocations: 12.5 MB / 0.9227 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004686/1.166, allocations: 2.994 MB / 0.9257 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/1.177, allocations: 3.563 MB / 0.9291 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007047/1.184, allocations: 2.933 MB / 0.932 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001013/1.185, allocations: 148.4 kB / 0.9321 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0113/1.196, allocations: 5.278 MB / 0.9373 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00287/1.199, allocations: 1.42 MB / 0.9387 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004415/1.204, allocations: 1.883 MB / 0.9405 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00844/1.212, allocations: 4.977 MB / 0.9454 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.212, allocations: 0 / 0.9454 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.716e-06/1.212, allocations: 0 / 0.9454 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001625/1.212, allocations: 0 / 0.9454 GB, free: 5.566 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.006278/1.219, allocations: 3.436 MB / 0.9487 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.219, allocations: 12.03 kB / 0.9488 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/1.224, allocations: 0.9377 MB / 0.9497 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00468/1.229, allocations: 2.263 MB / 0.9519 GB, free: 14.95 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/1.229, allocations: 284.9 kB / 0.9521 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/1.23, allocations: 284 kB / 0.9524 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005623/1.236, allocations: 3.361 MB / 0.9557 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.014e-05/1.236, allocations: 10.8 kB / 0.9557 GB, free: 10.94 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/1.236, allocations: 123.6 kB / 0.9558 GB, free: 10.82 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/1.236, allocations: 105.3 kB / 0.9559 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004212/1.24, allocations: 2.786 MB / 0.9586 GB, free: 7.926 MB / 0.67 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.01625/1.256, allocations: 13.24 MB / 0.9716 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/1.259, allocations: 1.816 MB / 0.9733 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/1.261, allocations: 1.102 MB / 0.9744 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004908/1.261, allocations: 335.1 kB / 0.9747 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/1.261, allocations: 63.28 kB / 0.9748 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=182): time 3.727e-06/1.261, allocations: 4 kB / 0.9748 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of matching and sorting (n=182): time 0.005139/1.266, allocations: 2.727 MB / 0.9775 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/1.267, allocations: 69.41 kB / 0.9775 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/1.27, allocations: 2.001 MB / 0.9795 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003138/1.27, allocations: 69.7 kB / 0.9796 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/1.271, allocations: 1.408 MB / 0.9809 GB, free: 100 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008534/1.272, allocations: 0.6347 MB / 0.9816 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/1.273, allocations: 173.6 kB / 0.9817 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001/1.273, allocations: 305.1 kB / 0.982 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/1.274, allocations: 0.8004 MB / 0.9828 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/1.276, allocations: 1.435 MB / 0.9842 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/1.279, allocations: 2.254 MB / 0.9864 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/1.279, allocations: 4 kB / 0.9864 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004338/1.284, allocations: 2.501 MB / 0.9888 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002955/1.284, allocations: 488.8 kB / 0.9893 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/1.284, allocations: 19.94 kB / 0.9893 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.905e-05/1.284, allocations: 30.84 kB / 0.9894 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/1.287, allocations: 0.5623 MB / 0.9899 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/1.289, allocations: 4.15 MB / 0.994 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/1.292, allocations: 379.2 kB / 0.9943 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/1.292, allocations: 87.98 kB / 0.9944 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/1.292, allocations: 3.938 kB / 0.9944 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00391/1.296, allocations: 2.215 MB / 0.9966 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/1.296, allocations: 12 kB / 0.9966 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.296, allocations: 28.12 kB / 0.9966 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/1.298, allocations: 473.3 kB / 0.9971 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.292e-05/1.298, allocations: 29.98 kB / 0.9971 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/1.301, allocations: 343.7 kB / 0.9974 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/1.302, allocations: 87.98 kB / 0.9975 GB, free: 14.62 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * 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): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001736/1.303, allocations: 0.857 MB / 0.9983 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007705/1.304, allocations: 268.8 kB / 0.9986 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/1.308, allocations: 2.11 MB / 1.001 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/1.308, allocations: 16 kB / 1.001 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.308, allocations: 4 kB / 1.001 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002453/1.31, allocations: 1.879 MB / 1.003 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008483/1.319, allocations: 5.16 MB / 1.008 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.319, allocations: 4 kB / 1.008 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/1.321, allocations: 0.5117 MB / 1.008 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.623e-05/1.321, allocations: 11.98 kB / 1.008 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/1.321, allocations: 55.92 kB / 1.008 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/1.323, allocations: 4.122 MB / 1.012 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/1.323, allocations: 4 kB / 1.012 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005393/1.329, allocations: 3.385 MB / 1.015 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.33, allocations: 0.5598 MB / 1.016 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005599/1.331, allocations: 47.98 kB / 1.016 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002626/1.333, allocations: 246.7 kB / 1.016 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/1.334, allocations: 113.8 kB / 1.016 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.334, allocations: 75.95 kB / 1.016 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002329/1.336, allocations: 1.334 MB / 1.018 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.336, allocations: 0 / 1.018 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005183/1.341, allocations: 1.714 MB / 1.019 GB, free: 7.875 MB / 0.7325 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 (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * 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): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008431/1.342, allocations: 348.3 kB / 1.02 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00656/1.349, allocations: 3.312 MB / 1.023 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.349, allocations: 4 kB / 1.023 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/1.351, allocations: 1.034 MB / 1.024 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009524/1.36, allocations: 1.596 MB / 1.026 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.372, allocations: 8.316 MB / 1.034 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/1.374, allocations: 2.197 MB / 1.036 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009556/1.375, allocations: 227.4 kB / 1.036 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of SimCode: time 1.062e-06/1.375, allocations: 0 / 1.036 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of Templates: time 0.4316/1.807, allocations: 140.9 MB / 1.174 GB, free: 332.3 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++ -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 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