Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.317/1.317, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 179.8 kB / 327.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000863/0.0008629, allocations: 94.3 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004132, allocations: 15.06 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2374, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.829/5.066, allocations: 2.246 GB / 3.147 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/5.067, allocations: 98.56 kB / 3.147 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.524/6.591, allocations: 0.6367 GB / 3.784 GB, free: 25.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.914e-06/6.591, allocations: 0 / 3.784 GB, free: 25.48 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.299e-05/6.591, allocations: 28 kB / 3.784 GB, free: 25.45 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002984/6.594, allocations: 1.446 MB / 3.786 GB, free: 23.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/6.594, allocations: 12.02 kB / 3.786 GB, free: 23.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/6.596, allocations: 255.3 kB / 3.786 GB, free: 23.69 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/6.598, allocations: 0.9729 MB / 3.787 GB, free: 22.67 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/6.598, allocations: 71.31 kB / 3.787 GB, free: 22.61 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/6.598, allocations: 96 kB / 3.787 GB, free: 22.51 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/6.599, allocations: 1.137 MB / 3.788 GB, free: 21.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/6.599, allocations: 7.938 kB / 3.788 GB, free: 21.29 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.064e-05/6.599, allocations: 36 kB / 3.788 GB, free: 21.26 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/6.599, allocations: 34 kB / 3.788 GB, free: 21.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/6.601, allocations: 0.8625 MB / 3.789 GB, free: 20.36 MB / 0.8855 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.003944/6.605, allocations: 5.706 MB / 3.795 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/6.605, allocations: 0.5616 MB / 3.795 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/6.606, allocations: 315.9 kB / 3.795 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/6.606, allocations: 315.6 kB / 3.796 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/6.606, allocations: 42.98 kB / 3.796 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=51): time 2.905e-06/6.606, allocations: 0 / 3.796 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=51): time 0.001239/6.607, allocations: 0.7986 MB / 3.796 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/6.607, allocations: 85.67 kB / 3.797 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006363/6.608, allocations: 0.7313 MB / 3.797 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/6.608, allocations: 37.7 kB / 3.797 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/6.608, allocations: 0.4948 MB / 3.798 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-05/6.608, allocations: 181.4 kB / 3.798 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/6.608, allocations: 16 kB / 3.798 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/6.608, allocations: 394.7 kB / 3.798 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/6.609, allocations: 241.9 kB / 3.799 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/6.609, allocations: 0.5653 MB / 3.799 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/6.61, allocations: 0.7949 MB / 3.8 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/6.61, allocations: 7.984 kB / 3.8 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009451/6.611, allocations: 0.8427 MB / 3.801 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/6.611, allocations: 8.156 kB / 3.801 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/6.611, allocations: 15.98 kB / 3.801 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/6.611, allocations: 15.94 kB / 3.801 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/6.611, allocations: 159.7 kB / 3.801 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/6.611, allocations: 12 kB / 3.801 GB, free: 7.199 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007884/6.612, allocations: 143 kB / 3.801 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/6.612, allocations: 47.92 kB / 3.801 GB, free: 7.012 MB / 0.8855 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.0003205/6.613, allocations: 325.5 kB / 3.801 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/6.613, allocations: 86.97 kB / 3.802 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007533/6.613, allocations: 0.6217 MB / 3.802 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/6.614, allocations: 7.938 kB / 3.802 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/6.614, allocations: 0 / 3.802 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005238/6.614, allocations: 0.5172 MB / 3.803 GB, free: 5.43 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/6.616, allocations: 1.747 MB / 3.804 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/6.616, allocations: 0 / 3.804 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/6.616, allocations: 119.8 kB / 3.804 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/6.616, allocations: 4 kB / 3.804 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/6.616, allocations: 16 kB / 3.804 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/6.616, allocations: 4 kB / 3.804 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/6.616, allocations: 4 kB / 3.805 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009797/6.617, allocations: 1.053 MB / 3.806 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/6.618, allocations: 231.9 kB / 3.806 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.659e-05/6.618, allocations: 23.98 kB / 3.806 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/6.618, allocations: 71.78 kB / 3.806 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/6.618, allocations: 35.84 kB / 3.806 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/6.618, allocations: 19.98 kB / 3.806 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004575/6.619, allocations: 0.5107 MB / 3.806 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/6.619, allocations: 0 / 3.806 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001249/6.62, allocations: 487.3 kB / 3.807 GB, free: 0.9844 MB / 0.8855 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.3717/6.992, allocations: 1.891 MB / 3.809 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001187/6.993, allocations: 0.6107 MB / 3.809 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/6.993, allocations: 0 / 3.809 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/6.993, allocations: 274.2 kB / 3.81 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/6.996, allocations: 434.3 kB / 3.81 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/6.999, allocations: 2.387 MB / 3.812 GB, free: 166 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/6.999, allocations: 1.116 MB / 3.813 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008924/7, allocations: 284.9 kB / 3.814 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/7, allocations: 79.02 kB / 3.814 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/7, allocations: 0 / 3.814 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.05043/7.051, allocations: 37.27 MB / 3.85 GB, free: 164.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)