Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.618/2.618, allocations: 287.3 MB / 302.3 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 198.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001217, allocations: 93.31 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006806/0.0006809, allocations: 13.27 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2333, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9625/1.196, allocations: 161.8 MB / 1.136 GB, free: 15.47 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02517/1.221, allocations: 12.15 MB / 1.148 GB, free: 10.99 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/1.223, allocations: 26.88 kB / 1.148 GB, free: 10.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002719/1.226, allocations: 0.4916 MB / 1.149 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007596/1.233, allocations: 1.542 MB / 1.15 GB, free: 9.414 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00486/1.238, allocations: 0.9347 MB / 1.151 GB, free: 8.762 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00412/1.242, allocations: 1.474 MB / 1.152 GB, free: 7.812 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/1.245, allocations: 0.8209 MB / 1.153 GB, free: 7.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004237/1.249, allocations: 1.102 MB / 1.154 GB, free: 6.637 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/1.251, allocations: 0.6224 MB / 1.155 GB, free: 6.281 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004369/1.252, allocations: 47.81 kB / 1.155 GB, free: 6.281 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/1.255, allocations: 0.5414 MB / 1.155 GB, free: 6.059 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/1.256, allocations: 414 kB / 1.156 GB, free: 5.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008767/1.257, allocations: 250.5 kB / 1.156 GB, free: 5.688 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003417/1.26, allocations: 1.31 MB / 1.157 GB, free: 4.824 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.26, allocations: 1.156 kB / 1.157 GB, free: 4.824 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/1.26, allocations: 0 / 1.157 GB, free: 4.824 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.849e-05/1.26, allocations: 0 / 1.157 GB, free: 4.824 MB / 0.698 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.003962/1.264, allocations: 1.234 MB / 1.159 GB, free: 3.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.264, allocations: 8.281 kB / 1.159 GB, free: 3.863 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/1.267, allocations: 255.5 kB / 1.159 GB, free: 3.746 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/1.27, allocations: 0.7446 MB / 1.16 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/1.27, allocations: 70.03 kB / 1.16 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/1.27, allocations: 96.69 kB / 1.16 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/1.274, allocations: 1.164 MB / 1.161 GB, free: 2.344 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.155e-05/1.274, allocations: 5.25 kB / 1.161 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/1.274, allocations: 37.94 kB / 1.161 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-05/1.274, allocations: 37.36 kB / 1.161 GB, free: 2.305 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003/1.277, allocations: 0.8991 MB / 1.162 GB, free: 1.863 MB / 0.698 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.01111/1.288, allocations: 5.737 MB / 1.167 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/1.29, allocations: 0.5729 MB / 1.168 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006986/1.291, allocations: 140.5 kB / 1.168 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/1.291, allocations: 46.03 kB / 1.168 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.236e-06/1.291, allocations: 1.344 kB / 1.168 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.002969/1.294, allocations: 0.8217 MB / 1.169 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/1.294, allocations: 82.83 kB / 1.169 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/1.296, allocations: 0.7507 MB / 1.17 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001989/1.296, allocations: 42.86 kB / 1.17 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005948/1.297, allocations: 0.4969 MB / 1.17 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/1.297, allocations: 184.7 kB / 1.17 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.728e-05/1.297, allocations: 14.78 kB / 1.17 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.297, allocations: 344.2 kB / 1.171 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007124/1.298, allocations: 248.8 kB / 1.171 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/1.299, allocations: 0.5696 MB / 1.172 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009974/1.3, allocations: 366.2 kB / 1.172 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.3, allocations: 0 / 1.172 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002532/1.303, allocations: 0.8642 MB / 1.173 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/1.303, allocations: 9.562 kB / 1.173 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/1.303, allocations: 8.969 kB / 1.173 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/1.303, allocations: 12.31 kB / 1.173 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/1.304, allocations: 156 kB / 1.173 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/1.304, allocations: 21.05 kB / 1.173 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/1.306, allocations: 136.2 kB / 1.173 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/1.306, allocations: 42.2 kB / 1.173 GB, free: 8.793 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * 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.0009142/1.307, allocations: 333.3 kB / 1.173 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/1.308, allocations: 88.3 kB / 1.174 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/1.31, allocations: 0.6279 MB / 1.174 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/1.31, allocations: 4.906 kB / 1.174 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.31, allocations: 6.844 kB / 1.174 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002047/1.312, allocations: 0.5232 MB / 1.175 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00842/1.32, allocations: 1.771 MB / 1.176 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.32, allocations: 2.281 kB / 1.176 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.322, allocations: 114.6 kB / 1.177 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.75e-05/1.322, allocations: 4.906 kB / 1.177 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/1.322, allocations: 13.89 kB / 1.177 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.642e-05/1.322, allocations: 8.125 kB / 1.177 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/1.322, allocations: 7.203 kB / 1.177 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/1.326, allocations: 1.173 MB / 1.178 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008857/1.326, allocations: 228.6 kB / 1.178 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/1.327, allocations: 16.17 kB / 1.178 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.328, allocations: 72.64 kB / 1.178 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/1.328, allocations: 38 kB / 1.178 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/1.328, allocations: 21.08 kB / 1.178 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001114/1.329, allocations: 0.5028 MB / 1.179 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-07/1.329, allocations: 2.375 kB / 1.179 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001765/1.331, allocations: 297.6 kB / 1.179 GB, free: 5.145 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * 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.0007677/1.332, allocations: 213.1 kB / 1.179 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001725/1.334, allocations: 0.6155 MB / 1.18 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.334, allocations: 0.625 kB / 1.18 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007076/1.335, allocations: 280.9 kB / 1.18 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003899/1.339, allocations: 420.4 kB / 1.18 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/1.344, allocations: 2.371 MB / 1.183 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.346, allocations: 1.143 MB / 1.184 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001698/1.347, allocations: 276.2 kB / 1.184 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/1.348, allocations: 77.42 kB / 1.184 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of SimCode: time 1.442e-06/1.348, allocations: 0 / 1.184 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of Templates: time 0.04505/1.393, allocations: 14.85 MB / 1.199 GB, free: 6.914 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)