Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007404/0.007404, allocations: 170.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7495/0.7495, allocations: 135.2 MB / 151.1 MB, free: 13.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 406.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009637/0.0009632, allocations: 97.41 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 8 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5311, allocations: 82.29 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.261/5.792, allocations: 1.936 GB / 2.585 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005791/5.793, allocations: 102.7 kB / 2.585 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.797/8.59, allocations: 0.6654 GB / 3.251 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.446e-06/8.59, allocations: 0 / 3.251 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.076e-05/8.59, allocations: 31.05 kB / 3.251 GB, free: 112.7 MB / 0.6823 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.003187/8.594, allocations: 1.471 MB / 3.252 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/8.594, allocations: 8.031 kB / 3.252 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/8.595, allocations: 253.6 kB / 3.252 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/8.597, allocations: 1.122 MB / 3.253 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/8.597, allocations: 75.41 kB / 3.253 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/8.598, allocations: 96 kB / 3.253 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/8.599, allocations: 1.112 MB / 3.255 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/8.599, allocations: 11.89 kB / 3.255 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/8.599, allocations: 36 kB / 3.255 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/8.599, allocations: 40.73 kB / 3.255 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/8.6, allocations: 0.8391 MB / 3.255 GB, free: 107.5 MB / 0.6823 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.006132/8.607, allocations: 5.692 MB / 3.261 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/8.607, allocations: 0.541 MB / 3.262 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005684/8.608, allocations: 302.8 kB / 3.262 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/8.608, allocations: 43 kB / 3.262 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=49): time 3.576e-06/8.608, allocations: 0 / 3.262 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.001538/8.61, allocations: 0.7902 MB / 3.263 GB, free: 99.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/8.61, allocations: 55.84 kB / 3.263 GB, free: 99.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008141/8.61, allocations: 0.6526 MB / 3.263 GB, free: 98.92 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/8.61, allocations: 37.7 kB / 3.263 GB, free: 98.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/8.611, allocations: 0.5027 MB / 3.264 GB, free: 98.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/8.611, allocations: 181.4 kB / 3.264 GB, free: 98.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/8.611, allocations: 14.81 kB / 3.264 GB, free: 98.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/8.611, allocations: 337.9 kB / 3.264 GB, free: 97.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/8.611, allocations: 237.9 kB / 3.265 GB, free: 97.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/8.612, allocations: 0.5754 MB / 3.265 GB, free: 96.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/8.612, allocations: 357.5 kB / 3.266 GB, free: 96.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/8.612, allocations: 3.156 kB / 3.266 GB, free: 96.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001042/8.613, allocations: 0.8343 MB / 3.266 GB, free: 95.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/8.613, allocations: 13.08 kB / 3.266 GB, free: 95.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/8.613, allocations: 8 kB / 3.266 GB, free: 95.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/8.613, allocations: 12 kB / 3.266 GB, free: 95.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/8.614, allocations: 151.8 kB / 3.267 GB, free: 95.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/8.614, allocations: 19.89 kB / 3.267 GB, free: 95.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009187/8.615, allocations: 138.4 kB / 3.267 GB, free: 95.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/8.615, allocations: 36 kB / 3.267 GB, free: 95.35 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004568/8.615, allocations: 341.3 kB / 3.267 GB, free: 95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/8.616, allocations: 82.97 kB / 3.267 GB, free: 94.92 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008112/8.616, allocations: 0.6063 MB / 3.268 GB, free: 94.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/8.616, allocations: 4 kB / 3.268 GB, free: 94.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/8.616, allocations: 4 kB / 3.268 GB, free: 94.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005612/8.617, allocations: 0.5133 MB / 3.268 GB, free: 93.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/8.619, allocations: 1.647 MB / 3.27 GB, free: 92.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/8.619, allocations: 0 / 3.27 GB, free: 92.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/8.62, allocations: 111.8 kB / 3.27 GB, free: 91.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/8.62, allocations: 4 kB / 3.27 GB, free: 91.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/8.62, allocations: 19.98 kB / 3.27 GB, free: 91.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/8.62, allocations: 7.938 kB / 3.27 GB, free: 91.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/8.62, allocations: 0 / 3.27 GB, free: 91.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/8.621, allocations: 1.121 MB / 3.271 GB, free: 90.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/8.621, allocations: 227.9 kB / 3.271 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/8.621, allocations: 12 kB / 3.271 GB, free: 90.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/8.622, allocations: 63.84 kB / 3.271 GB, free: 90.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/8.622, allocations: 31.95 kB / 3.271 GB, free: 90.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/8.622, allocations: 20 kB / 3.271 GB, free: 90.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005002/8.623, allocations: 0.5068 MB / 3.272 GB, free: 89.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/8.623, allocations: 0 / 3.272 GB, free: 89.83 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001589/8.624, allocations: 483.2 kB / 3.272 GB, free: 89.36 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002816/8.627, allocations: 1.901 MB / 3.274 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009355/8.628, allocations: 0.5959 MB / 3.275 GB, free: 86.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/8.628, allocations: 0 / 3.275 GB, free: 86.87 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002757/8.628, allocations: 263.7 kB / 3.275 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/8.63, allocations: 442.9 kB / 3.275 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/8.634, allocations: 2.344 MB / 3.278 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/8.634, allocations: 1.143 MB / 3.279 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008917/8.635, allocations: 266.2 kB / 3.279 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/8.635, allocations: 71.42 kB / 3.279 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/8.635, allocations: 0 / 3.279 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of Templates: time 0.0498/8.685, allocations: 36.64 MB / 3.315 GB, free: 46.01 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)