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.001169/0.001169, allocations: 104 kB / 16.35 MB, free: 5.824 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.001304/0.001305, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8149/0.8149, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 67.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3494, allocations: 80.18 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5531/0.9025, allocations: 195.1 MB / 0.772 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.919, allocations: 14.32 MB / 0.786 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.9209, allocations: 36.41 kB / 0.786 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.9225, allocations: 0.4898 MB / 0.7865 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004471/0.9271, allocations: 1.89 MB / 0.7883 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.9295, allocations: 0.8643 MB / 0.7892 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00312/0.9326, allocations: 2.567 MB / 0.7917 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.934, allocations: 1.125 MB / 0.7928 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004115/0.9381, allocations: 1.599 MB / 0.7943 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.9397, allocations: 0.9185 MB / 0.7952 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.9399, allocations: 106.5 kB / 0.7953 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.9421, allocations: 1.102 MB / 0.7964 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004826/0.9426, allocations: 0.4958 MB / 0.7969 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007586/0.9434, allocations: 0.6376 MB / 0.7975 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.9458, allocations: 1.911 MB / 0.7994 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9458, allocations: 0 / 0.7994 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9458, allocations: 3.656 kB / 0.7994 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.9458, allocations: 0 / 0.7994 GB, free: 0.8789 MB / 0.5762 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.002133/0.948, allocations: 1.455 MB / 0.8008 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.948, allocations: 11.19 kB / 0.8008 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.9494, allocations: 253.7 kB / 0.8011 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.9507, allocations: 0.7921 MB / 0.8018 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.9508, allocations: 70.81 kB / 0.8019 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.9509, allocations: 92.25 kB / 0.802 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.9525, allocations: 1.168 MB / 0.8031 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.9525, allocations: 0.8438 kB / 0.8031 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/0.9526, allocations: 41.66 kB / 0.8032 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/0.9527, allocations: 41.84 kB / 0.8032 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.9539, allocations: 0.8952 MB / 0.8041 GB, free: 15.47 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.005436/0.9593, allocations: 5.739 MB / 0.8097 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/0.96, allocations: 0.5318 MB / 0.8102 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.9604, allocations: 319.3 kB / 0.8105 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005894/0.961, allocations: 314.1 kB / 0.8108 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.9611, allocations: 38.34 kB / 0.8109 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.435e-06/0.9611, allocations: 0 / 0.8109 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001436/0.9625, allocations: 0.7944 MB / 0.8116 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.9626, allocations: 60.28 kB / 0.8117 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009588/0.9635, allocations: 0.7539 MB / 0.8124 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.298e-05/0.9636, allocations: 36.48 kB / 0.8125 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.964, allocations: 0.511 MB / 0.813 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.9641, allocations: 175.5 kB / 0.8131 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.9643, allocations: 143 kB / 0.8133 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9645, allocations: 336.7 kB / 0.8136 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.9648, allocations: 247.1 kB / 0.8138 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.9654, allocations: 0.5566 MB / 0.8144 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/0.9663, allocations: 0.8025 MB / 0.8151 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.9663, allocations: 3.5 kB / 0.8152 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001137/0.9675, allocations: 0.8466 MB / 0.816 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.9675, allocations: 9.844 kB / 0.816 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.9675, allocations: 10.5 kB / 0.816 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.9675, allocations: 12.81 kB / 0.816 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.9681, allocations: 153.6 kB / 0.8162 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.9681, allocations: 16.92 kB / 0.8162 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007337/0.9689, allocations: 89.53 kB / 0.8163 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.9689, allocations: 41.27 kB / 0.8163 GB, free: 9.551 MB / 0.5919 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.0004381/0.9694, allocations: 332.5 kB / 0.8166 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.9695, allocations: 83.84 kB / 0.8167 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008978/0.9704, allocations: 0.6183 MB / 0.8173 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.9704, allocations: 6.625 kB / 0.8173 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9704, allocations: 0 / 0.8173 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006672/0.9711, allocations: 0.5139 MB / 0.8178 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.9735, allocations: 1.668 MB / 0.8194 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.9735, allocations: 0 / 0.8194 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.9741, allocations: 119 kB / 0.8195 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.9741, allocations: 4.75 kB / 0.8196 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.9741, allocations: 13.41 kB / 0.8196 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.9741, allocations: 10.08 kB / 0.8196 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9741, allocations: 2.594 kB / 0.8196 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.9754, allocations: 1.048 MB / 0.8206 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/0.9758, allocations: 227.8 kB / 0.8208 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.9759, allocations: 14.03 kB / 0.8208 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.9763, allocations: 17.88 kB / 0.8208 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.9764, allocations: 34.27 kB / 0.8209 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.9764, allocations: 21.27 kB / 0.8209 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00057/0.977, allocations: 0.5125 MB / 0.8214 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.977, allocations: 0 / 0.8214 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009351/0.978, allocations: 304.2 kB / 0.8217 GB, free: 8.336 MB / 0.5919 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.0004931/0.9785, allocations: 197.5 kB / 0.8219 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.9795, allocations: 0.6229 MB / 0.8225 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9795, allocations: 1.375 kB / 0.8225 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.9799, allocations: 277.2 kB / 0.8228 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.9817, allocations: 443 kB / 0.8232 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.9847, allocations: 1.901 MB / 0.825 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.9854, allocations: 1.125 MB / 0.8261 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007524/0.9861, allocations: 270.8 kB / 0.8264 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.9863, allocations: 70.34 kB / 0.8265 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.9863, allocations: 0 / 0.8265 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.02546/1.012, allocations: 15.44 MB / 0.8415 GB, free: 10.17 MB / 0.6075 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)