Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001102/0.001102, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001126/0.001126, allocations: 190.2 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 71.75 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2391, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6614/0.9005, allocations: 195.1 MB / 0.9753 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01865/0.9192, allocations: 14.29 MB / 0.9892 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.9207, allocations: 35.81 kB / 0.9893 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.9224, allocations: 0.4929 MB / 0.9898 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00496/0.9273, allocations: 1.886 MB / 0.9916 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.9298, allocations: 0.8548 MB / 0.9924 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003427/0.9332, allocations: 2.564 MB / 0.9949 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.9348, allocations: 1.106 MB / 0.996 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004302/0.9391, allocations: 1.604 MB / 0.9976 GB, free: 60 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.9411, allocations: 0.9138 MB / 0.9985 GB, free: 15.14 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.9414, allocations: 108 kB / 0.9986 GB, free: 15.04 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.944, allocations: 1.099 MB / 0.9997 GB, free: 13.94 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005434/0.9445, allocations: 0.4987 MB / 1 GB, free: 13.44 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008162/0.9453, allocations: 0.6311 MB / 1.001 GB, free: 12.8 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.9483, allocations: 1.916 MB / 1.003 GB, free: 10.88 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.9483, allocations: 4 kB / 1.003 GB, free: 10.88 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9484, allocations: 0 / 1.003 GB, free: 10.88 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.239e-05/0.9484, allocations: 0 / 1.003 GB, free: 10.88 MB / 0.795 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.002728/0.9511, allocations: 1.448 MB / 1.004 GB, free: 9.379 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.9512, allocations: 8.031 kB / 1.004 GB, free: 9.371 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.9527, allocations: 254.4 kB / 1.004 GB, free: 9.121 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.9541, allocations: 0.7492 MB / 1.005 GB, free: 8.328 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/0.9542, allocations: 70 kB / 1.005 GB, free: 8.258 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.9543, allocations: 96 kB / 1.005 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.9561, allocations: 1.171 MB / 1.006 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.9562, allocations: 7.875 kB / 1.006 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-05/0.9563, allocations: 43.94 kB / 1.006 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.9563, allocations: 30 kB / 1.006 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.9577, allocations: 0.9015 MB / 1.007 GB, free: 5.945 MB / 0.795 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.00624/0.964, allocations: 5.735 MB / 1.013 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007976/0.9648, allocations: 0.5213 MB / 1.013 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/0.9653, allocations: 318.6 kB / 1.014 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006267/0.9659, allocations: 315.7 kB / 1.014 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.9659, allocations: 39 kB / 1.014 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=49): time 2.274e-06/0.966, allocations: 0 / 1.014 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49): time 0.001606/0.9676, allocations: 0.8026 MB / 1.015 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.9676, allocations: 55.84 kB / 1.015 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000945/0.9686, allocations: 0.747 MB / 1.016 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.9686, allocations: 37.7 kB / 1.016 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.969, allocations: 0.5026 MB / 1.016 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.9692, allocations: 181.4 kB / 1.016 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.9694, allocations: 146.6 kB / 1.016 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.9696, allocations: 337.9 kB / 1.017 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.97, allocations: 245.8 kB / 1.017 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/0.9707, allocations: 0.5566 MB / 1.018 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.9717, allocations: 0.7995 MB / 1.018 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.9717, allocations: 4 kB / 1.018 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001425/0.9732, allocations: 0.8462 MB / 1.019 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.9732, allocations: 8 kB / 1.019 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.9732, allocations: 8 kB / 1.019 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.9732, allocations: 12 kB / 1.019 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.9738, allocations: 159 kB / 1.019 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.9739, allocations: 16.48 kB / 1.019 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/0.9747, allocations: 99.03 kB / 1.019 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.9747, allocations: 32 kB / 1.019 GB, free: 8.625 MB / 0.8106 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.0004962/0.9752, allocations: 329.5 kB / 1.02 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.9754, allocations: 86.97 kB / 1.02 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.9764, allocations: 0.6178 MB / 1.02 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.9764, allocations: 4 kB / 1.02 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.9764, allocations: 0 / 1.02 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007109/0.9772, allocations: 0.5172 MB / 1.021 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.9797, allocations: 1.664 MB / 1.023 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.9797, allocations: 4 kB / 1.023 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005304/0.9803, allocations: 115.8 kB / 1.023 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.9803, allocations: 4 kB / 1.023 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.9803, allocations: 8 kB / 1.023 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.9803, allocations: 4 kB / 1.023 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.9803, allocations: 7.938 kB / 1.023 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.9818, allocations: 1.054 MB / 1.024 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.9821, allocations: 228 kB / 1.024 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.9822, allocations: 15.5 kB / 1.024 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.9827, allocations: 19.92 kB / 1.024 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.48e-05/0.9828, allocations: 35.89 kB / 1.024 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.9829, allocations: 20 kB / 1.024 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006449/0.9835, allocations: 0.5107 MB / 1.025 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9835, allocations: 0 / 1.025 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009278/0.9845, allocations: 303.2 kB / 1.025 GB, free: 2.938 MB / 0.8106 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.000481/0.9849, allocations: 205.1 kB / 1.025 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.986, allocations: 0.6078 MB / 1.026 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.986, allocations: 0.6875 kB / 1.026 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.9864, allocations: 283.3 kB / 1.026 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.9882, allocations: 432.9 kB / 1.026 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.9911, allocations: 1.909 MB / 1.028 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/0.9919, allocations: 1.118 MB / 1.029 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007645/0.9927, allocations: 271.6 kB / 1.03 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.9929, allocations: 67.44 kB / 1.03 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/0.9929, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of Templates: time 0.02633/1.019, allocations: 15.43 MB / 1.045 GB, free: 14.96 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)