Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000823/0.0008233, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005818/0.005818, allocations: 172.4 kB / 16.27 MB, free: 6.656 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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7729/0.7729, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 17.86 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5128, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.233/0.7459, allocations: 190.3 MB / 0.7695 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.7629, allocations: 14.2 MB / 0.7834 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.7644, allocations: 27.81 kB / 0.7834 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.7659, allocations: 421.7 kB / 0.7838 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.7713, allocations: 1.788 MB / 0.7856 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.7737, allocations: 0.7647 MB / 0.7863 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004033/0.7777, allocations: 3.618 MB / 0.7898 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.779, allocations: 0.9196 MB / 0.7907 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.7837, allocations: 1.407 MB / 0.7921 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.7854, allocations: 0.9211 MB / 0.793 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.7855, allocations: 48 kB / 0.7931 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.788, allocations: 1.235 MB / 0.7943 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.7885, allocations: 446.7 kB / 0.7947 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006762/0.7892, allocations: 0.5886 MB / 0.7953 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.7914, allocations: 1.888 MB / 0.7971 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7914, allocations: 0 / 0.7971 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7914, allocations: 0 / 0.7971 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.7914, allocations: 0 / 0.7971 GB, free: 5.164 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00205/0.7935, allocations: 1.231 MB / 0.7983 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.7936, allocations: 12.03 kB / 0.7983 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.7949, allocations: 250.4 kB / 0.7986 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.796, allocations: 0.7531 MB / 0.7993 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.916e-05/0.7961, allocations: 73.94 kB / 0.7994 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.7962, allocations: 99.98 kB / 0.7995 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.798, allocations: 1.173 MB / 0.8006 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.798, allocations: 0 / 0.8006 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/0.7981, allocations: 40 kB / 0.8006 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-05/0.7982, allocations: 33.98 kB / 0.8007 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.7995, allocations: 0.9015 MB / 0.8016 GB, free: 444 kB / 0.6231 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.005544/0.8051, allocations: 5.715 MB / 0.8071 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.8059, allocations: 0.528 MB / 0.8077 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.8063, allocations: 326.5 kB / 0.808 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006117/0.8069, allocations: 327.7 kB / 0.8083 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.807, allocations: 35 kB / 0.8083 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 3.517e-06/0.807, allocations: 0 / 0.8083 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001461/0.8085, allocations: 0.8026 MB / 0.8091 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.8085, allocations: 59.78 kB / 0.8091 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00091/0.8094, allocations: 0.751 MB / 0.8099 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.8095, allocations: 37.7 kB / 0.8099 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.8099, allocations: 0.5142 MB / 0.8104 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.8101, allocations: 173.5 kB / 0.8106 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.577e-05/0.8102, allocations: 61.69 kB / 0.8106 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8103, allocations: 337.9 kB / 0.811 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.8107, allocations: 249.8 kB / 0.8112 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.8113, allocations: 0.5605 MB / 0.8118 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009749/0.8123, allocations: 0.7917 MB / 0.8125 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.8123, allocations: 4 kB / 0.8125 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001203/0.8135, allocations: 0.8424 MB / 0.8134 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.8135, allocations: 8.938 kB / 0.8134 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.8136, allocations: 15.98 kB / 0.8134 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.8136, allocations: 12 kB / 0.8134 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.8142, allocations: 151.8 kB / 0.8135 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/0.8142, allocations: 11.94 kB / 0.8135 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008808/0.8151, allocations: 145 kB / 0.8137 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.8152, allocations: 39.94 kB / 0.8137 GB, free: 3.137 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004667/0.8156, allocations: 329.5 kB / 0.814 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.8157, allocations: 82.97 kB / 0.8141 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009746/0.8167, allocations: 0.6218 MB / 0.8147 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.8167, allocations: 8.031 kB / 0.8147 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.8168, allocations: 3.938 kB / 0.8147 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000686/0.8175, allocations: 0.5172 MB / 0.8152 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5156/1.333, allocations: 1.659 MB / 0.8169 GB, free: 29.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/1.333, allocations: 1.688 kB / 0.8169 GB, free: 29.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/1.334, allocations: 112.8 kB / 0.817 GB, free: 29.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/1.334, allocations: 4.062 kB / 0.817 GB, free: 29.45 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/1.334, allocations: 15.53 kB / 0.817 GB, free: 29.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/1.334, allocations: 4.734 kB / 0.817 GB, free: 29.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.334, allocations: 5.531 kB / 0.817 GB, free: 29.45 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/1.336, allocations: 1.05 MB / 0.818 GB, free: 29.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/1.337, allocations: 223.2 kB / 0.8182 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.337, allocations: 14.12 kB / 0.8182 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/1.337, allocations: 63.06 kB / 0.8183 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/1.338, allocations: 35.05 kB / 0.8183 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/1.338, allocations: 25.7 kB / 0.8184 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00089/1.338, allocations: 0.5113 MB / 0.8189 GB, free: 29.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/1.339, allocations: 0 / 0.8189 GB, free: 29.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001132/1.34, allocations: 296 kB / 0.8191 GB, free: 29.07 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000553/1.34, allocations: 202.8 kB / 0.8193 GB, free: 28.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001254/1.341, allocations: 0.607 MB / 0.8199 GB, free: 28.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.341, allocations: 1.281 kB / 0.8199 GB, free: 28.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004592/1.342, allocations: 277.9 kB / 0.8202 GB, free: 28.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/1.345, allocations: 434.2 kB / 0.8206 GB, free: 28.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/1.349, allocations: 2.39 MB / 0.8229 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009856/1.35, allocations: 1.119 MB / 0.824 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001296/1.352, allocations: 275.9 kB / 0.8243 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/1.352, allocations: 71.94 kB / 0.8244 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of SimCode: time 2.665e-06/1.352, allocations: 0.6875 kB / 0.8244 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.03364/1.386, allocations: 14.92 MB / 0.8389 GB, free: 26.16 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)