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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009744/0.0009745, allocations: 99.58 kB / 16.02 MB, free: 72 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.001167/0.001167, allocations: 182.9 kB / 16.92 MB, free: 6.918 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9684/0.9684, allocations: 135.3 MB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003534, allocations: 17.14 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1645, allocations: 82.31 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5154/0.68, allocations: 190.3 MB / 0.7744 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01924/0.6993, allocations: 14.22 MB / 0.7883 GB, free: 104 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.7009, allocations: 31.81 kB / 0.7884 GB, free: 72 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.7027, allocations: 417.7 kB / 0.7888 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005438/0.7082, allocations: 1.763 MB / 0.7905 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.7109, allocations: 0.7759 MB / 0.7912 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00442/0.7153, allocations: 3.62 MB / 0.7948 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.7171, allocations: 0.9101 MB / 0.7957 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005023/0.7221, allocations: 1.41 MB / 0.797 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.7241, allocations: 0.9198 MB / 0.7979 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003533/0.7245, allocations: 44 kB / 0.798 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.7274, allocations: 1.243 MB / 0.7992 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007179/0.7281, allocations: 438.7 kB / 0.7996 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.7295, allocations: 0.5848 MB / 0.8002 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.7318, allocations: 1.403 MB / 0.8015 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.7318, allocations: 0 / 0.8015 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.634e-06/0.7318, allocations: 4 kB / 0.8015 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.225e-05/0.7319, allocations: 3.938 kB / 0.8016 GB, free: 2.52 MB / 0.6075 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.00247/0.7343, allocations: 1.237 MB / 0.8028 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.7344, allocations: 12.03 kB / 0.8028 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.7361, allocations: 250.4 kB / 0.803 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.7377, allocations: 0.7492 MB / 0.8037 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.7377, allocations: 78 kB / 0.8038 GB, free: 108 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.738, allocations: 95.94 kB / 0.8039 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.7399, allocations: 1.168 MB / 0.805 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.7399, allocations: 3.938 kB / 0.8051 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.497e-05/0.74, allocations: 40 kB / 0.8051 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.501e-05/0.7401, allocations: 38 kB / 0.8051 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.7414, allocations: 0.9054 MB / 0.806 GB, free: 13.79 MB / 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.005993/0.7474, allocations: 5.715 MB / 0.8116 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/0.7483, allocations: 0.5261 MB / 0.8121 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/0.7487, allocations: 318.6 kB / 0.8124 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/0.7494, allocations: 327.7 kB / 0.8127 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.7494, allocations: 42.94 kB / 0.8128 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 3.616e-06/0.7494, allocations: 3.938 kB / 0.8128 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001558/0.751, allocations: 0.7987 MB / 0.8135 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.7511, allocations: 59.84 kB / 0.8136 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009795/0.752, allocations: 0.747 MB / 0.8143 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/0.7521, allocations: 37.7 kB / 0.8144 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/0.7525, allocations: 0.5143 MB / 0.8149 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.7527, allocations: 181.5 kB / 0.815 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.7528, allocations: 57.69 kB / 0.8151 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.753, allocations: 334 kB / 0.8154 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.7533, allocations: 245.8 kB / 0.8157 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.7539, allocations: 0.5683 MB / 0.8162 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009696/0.7549, allocations: 0.7918 MB / 0.817 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.7549, allocations: 4 kB / 0.817 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001311/0.7562, allocations: 0.8466 MB / 0.8178 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.7563, allocations: 12 kB / 0.8178 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.7563, allocations: 8 kB / 0.8178 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.7563, allocations: 12 kB / 0.8178 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.7569, allocations: 159.7 kB / 0.818 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.757, allocations: 12 kB / 0.818 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009756/0.7579, allocations: 139.2 kB / 0.8181 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.758, allocations: 35.98 kB / 0.8182 GB, free: 0.5039 MB / 0.6231 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.0005616/0.7586, allocations: 329.5 kB / 0.8185 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.7587, allocations: 82.97 kB / 0.8186 GB, free: 92 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.7598, allocations: 0.6218 MB / 0.8192 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.7598, allocations: 11.94 kB / 0.8192 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.7598, allocations: 0 / 0.8192 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007386/0.7606, allocations: 0.5172 MB / 0.8197 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.7632, allocations: 1.669 MB / 0.8213 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.7632, allocations: 0 / 0.8213 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005304/0.7637, allocations: 111.9 kB / 0.8214 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.7638, allocations: 4 kB / 0.8214 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/0.7638, allocations: 19.98 kB / 0.8214 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.7638, allocations: 7.938 kB / 0.8215 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7638, allocations: 0 / 0.8215 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.7652, allocations: 1.058 MB / 0.8225 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.7656, allocations: 220 kB / 0.8227 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.7657, allocations: 16 kB / 0.8227 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.7663, allocations: 63.78 kB / 0.8228 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.7664, allocations: 27.97 kB / 0.8228 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.7664, allocations: 23.98 kB / 0.8228 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000674/0.7671, allocations: 0.5146 MB / 0.8233 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7671, allocations: 0 / 0.8233 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009303/0.7681, allocations: 295.4 kB / 0.8236 GB, free: 10.77 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.0005222/0.7686, allocations: 223.1 kB / 0.8238 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.7696, allocations: 0.6004 MB / 0.8244 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7696, allocations: 4.062 kB / 0.8244 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.77, allocations: 275.5 kB / 0.8247 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.7722, allocations: 429.6 kB / 0.8251 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.7758, allocations: 2.471 MB / 0.8275 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/0.7766, allocations: 1.126 MB / 0.8286 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.7769, allocations: 79.42 kB / 0.8287 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of SimCode: time 6.32e-07/0.7769, allocations: 0 / 0.8287 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of Templates: time 0.02444/0.8014, allocations: 14.55 MB / 0.8429 GB, free: 7.113 MB / 0.6544 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)