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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 289.7 MB / 302.2 MB, free: 2.117 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.0009783/0.0009783, allocations: 178.4 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008763/0.0008761, allocations: 92.38 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.516e-05, allocations: 8 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2641, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.038/6.303, allocations: 2.129 GB / 3.109 GB, free: 111.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/6.303, allocations: 89.02 kB / 3.109 GB, free: 111.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.772/9.075, allocations: 0.656 GB / 3.765 GB, free: 153.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.537e-06/9.075, allocations: 0 / 3.765 GB, free: 153.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001417/9.075, allocations: 27.62 kB / 3.765 GB, free: 153.5 MB / 0.948 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.004667/9.08, allocations: 1.323 MB / 3.766 GB, free: 152.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/9.08, allocations: 11.69 kB / 3.766 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/9.082, allocations: 250.4 kB / 3.766 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003786/9.086, allocations: 1.103 MB / 3.767 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.219e-05/9.086, allocations: 70.19 kB / 3.767 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003679/9.086, allocations: 97.38 kB / 3.767 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/9.089, allocations: 1.107 MB / 3.768 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/9.089, allocations: 7.188 kB / 3.768 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/9.089, allocations: 38.47 kB / 3.769 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/9.089, allocations: 30.16 kB / 3.769 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/9.091, allocations: 0.8265 MB / 3.769 GB, free: 151.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.006784/9.098, allocations: 5.692 MB / 3.775 GB, free: 146.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/9.098, allocations: 0.5285 MB / 3.775 GB, free: 146.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/9.099, allocations: 303.1 kB / 3.776 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005397/9.099, allocations: 313 kB / 3.776 GB, free: 145.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/9.099, allocations: 42.73 kB / 3.776 GB, free: 145.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 4.368e-06/9.099, allocations: 4 kB / 3.776 GB, free: 145.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001433/9.101, allocations: 0.5775 MB / 3.777 GB, free: 145.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/9.101, allocations: 55.69 kB / 3.777 GB, free: 145.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/9.102, allocations: 0.648 MB / 3.777 GB, free: 145.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-05/9.102, allocations: 37.45 kB / 3.777 GB, free: 145.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/9.102, allocations: 0.499 MB / 3.778 GB, free: 144.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/9.103, allocations: 182.3 kB / 3.778 GB, free: 144.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/9.103, allocations: 15.59 kB / 3.778 GB, free: 144.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.384e-05/9.103, allocations: 331.9 kB / 3.778 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/9.103, allocations: 236.4 kB / 3.779 GB, free: 144.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/9.104, allocations: 0.5653 MB / 3.779 GB, free: 143.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/9.104, allocations: 349.4 kB / 3.779 GB, free: 143.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/9.104, allocations: 6.406 kB / 3.779 GB, free: 143.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00136/9.106, allocations: 0.8193 MB / 3.78 GB, free: 143.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/9.106, allocations: 11 kB / 3.78 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/9.106, allocations: 7.031 kB / 3.78 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/9.106, allocations: 15.7 kB / 3.78 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/9.106, allocations: 159.9 kB / 3.78 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/9.106, allocations: 19.05 kB / 3.78 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/9.108, allocations: 141 kB / 3.781 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/9.108, allocations: 34.5 kB / 3.781 GB, free: 143.2 MB / 0.948 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 () * 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.000182/9.108, allocations: 160.6 kB / 3.781 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/9.108, allocations: 82.44 kB / 3.781 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/9.109, allocations: 0.5957 MB / 3.781 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/9.109, allocations: 7.203 kB / 3.781 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/9.109, allocations: 0 / 3.781 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000619/9.11, allocations: 0.5037 MB / 3.782 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/9.113, allocations: 1.646 MB / 3.784 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/9.113, allocations: 0 / 3.784 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/9.114, allocations: 116.2 kB / 3.784 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.025e-05/9.114, allocations: 8.094 kB / 3.784 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/9.114, allocations: 15.64 kB / 3.784 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/9.114, allocations: 3.875 kB / 3.784 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/9.114, allocations: 3.281 kB / 3.784 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/9.115, allocations: 1.114 MB / 3.785 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/9.116, allocations: 221.3 kB / 3.785 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/9.116, allocations: 15.08 kB / 3.785 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007712/9.117, allocations: 69.5 kB / 3.785 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/9.117, allocations: 31.34 kB / 3.785 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/9.117, allocations: 19.23 kB / 3.785 GB, free: 140.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008831/9.118, allocations: 0.4983 MB / 3.786 GB, free: 140.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.362e-06/9.118, allocations: 0 / 3.786 GB, free: 140.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002059/9.12, allocations: 487.7 kB / 3.786 GB, free: 140.5 MB / 0.948 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 () * 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.003413/9.123, allocations: 1.895 MB / 3.788 GB, free: 139.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001107/9.124, allocations: 0.5794 MB / 3.788 GB, free: 139.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/9.124, allocations: 0 / 3.788 GB, free: 139.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/9.125, allocations: 270.9 kB / 3.789 GB, free: 139.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/9.127, allocations: 425 kB / 3.789 GB, free: 139.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/9.131, allocations: 1.537 MB / 3.791 GB, free: 138.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/9.132, allocations: 1.141 MB / 3.792 GB, free: 137.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001203/9.133, allocations: 264.5 kB / 3.792 GB, free: 137.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/9.133, allocations: 70.3 kB / 3.792 GB, free: 137.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.834e-06/9.133, allocations: 0 / 3.792 GB, free: 137.6 MB / 0.948 GB Notification: Performance of Templates: time 0.06017/9.194, allocations: 41.45 MB / 3.833 GB, free: 102.9 MB / 0.948 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)