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.688/1.688, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001353/0.001353, allocations: 188.5 kB / 376.9 MB, free: 1.82 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.557/1.557, allocations: 205.1 MB / 0.6354 GB, free: 9.805 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.0009645/0.0009643, allocations: 103.7 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009994/0.0009996, allocations: 51.92 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2695, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6843/0.9539, allocations: 192.9 MB / 1.171 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01901/0.973, allocations: 14.38 MB / 1.185 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.9746, allocations: 33.47 kB / 1.185 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.9762, allocations: 420 kB / 1.185 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004835/0.9811, allocations: 1.768 MB / 1.187 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.9837, allocations: 0.7659 MB / 1.188 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005275/0.989, allocations: 3.626 MB / 1.191 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.9905, allocations: 0.9461 MB / 1.192 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005757/0.9963, allocations: 1.449 MB / 1.193 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.9979, allocations: 0.9685 MB / 1.194 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.998, allocations: 57.62 kB / 1.194 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/1.001, allocations: 1.253 MB / 1.196 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0005029/1.001, allocations: 471.6 kB / 1.196 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006946/1.002, allocations: 0.5822 MB / 1.197 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/1.004, allocations: 1.921 MB / 1.199 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.004, allocations: 3.094 kB / 1.199 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.01e-07/1.004, allocations: 1.25 kB / 1.199 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.277e-05/1.004, allocations: 0 / 1.199 GB, free: 10.22 MB / 0.7917 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.002555/1.006, allocations: 1.438 MB / 1.2 GB, free: 9.262 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.007, allocations: 9.375 kB / 1.2 GB, free: 9.262 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/1.008, allocations: 256.1 kB / 1.2 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/1.009, allocations: 0.7503 MB / 1.201 GB, free: 8.707 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/1.009, allocations: 72.72 kB / 1.201 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/1.01, allocations: 90.19 kB / 1.201 GB, free: 8.645 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/1.011, allocations: 1.168 MB / 1.202 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/1.011, allocations: 9.688 kB / 1.202 GB, free: 8.074 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-05/1.012, allocations: 41.72 kB / 1.202 GB, free: 8.043 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.374e-05/1.012, allocations: 33.12 kB / 1.202 GB, free: 8.039 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/1.013, allocations: 0.896 MB / 1.203 GB, free: 7.742 MB / 0.7917 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.006393/1.02, allocations: 5.73 MB / 1.209 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009759/1.021, allocations: 0.5289 MB / 1.209 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005275/1.021, allocations: 316.3 kB / 1.21 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000703/1.022, allocations: 311.5 kB / 1.21 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.022, allocations: 42.66 kB / 1.21 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/1.022, allocations: 0 / 1.21 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of matching and sorting (n=49): time 0.001767/1.024, allocations: 0.7981 MB / 1.211 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/1.024, allocations: 61.44 kB / 1.211 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/1.025, allocations: 0.7397 MB / 1.211 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/1.025, allocations: 37.36 kB / 1.211 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004209/1.025, allocations: 0.5119 MB / 1.212 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/1.025, allocations: 177.3 kB / 1.212 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/1.026, allocations: 149.3 kB / 1.212 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.026, allocations: 332.9 kB / 1.213 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/1.026, allocations: 251.7 kB / 1.213 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007461/1.027, allocations: 0.5598 MB / 1.213 GB, free: 236 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/1.028, allocations: 0.7962 MB / 1.214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.028, allocations: 2.25 kB / 1.214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001458/1.03, allocations: 0.8491 MB / 1.215 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/1.03, allocations: 8.875 kB / 1.215 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.03, allocations: 7.938 kB / 1.215 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/1.03, allocations: 15.62 kB / 1.215 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/1.03, allocations: 152 kB / 1.215 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/1.03, allocations: 15.88 kB / 1.215 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.031, allocations: 139.6 kB / 1.215 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/1.032, allocations: 41.53 kB / 1.215 GB, free: 15.22 MB / 0.8073 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.0004857/1.032, allocations: 327.8 kB / 1.216 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/1.032, allocations: 88.84 kB / 1.216 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/1.033, allocations: 0.6117 MB / 1.216 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.033, allocations: 5.5 kB / 1.216 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.033, allocations: 4 kB / 1.216 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008046/1.034, allocations: 0.5141 MB / 1.217 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/1.037, allocations: 1.668 MB / 1.219 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/1.037, allocations: 5.625 kB / 1.219 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/1.037, allocations: 111.5 kB / 1.219 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/1.037, allocations: 3.781 kB / 1.219 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/1.038, allocations: 15.09 kB / 1.219 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/1.038, allocations: 4.156 kB / 1.219 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.038, allocations: 5.938 kB / 1.219 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007911/1.045, allocations: 4.716 MB / 1.223 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/1.046, allocations: 221.3 kB / 1.223 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/1.046, allocations: 17.48 kB / 1.223 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005877/1.047, allocations: 65.62 kB / 1.224 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/1.047, allocations: 30.3 kB / 1.224 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/1.047, allocations: 23.25 kB / 1.224 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0008206/1.048, allocations: 0.5096 MB / 1.224 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.71e-07/1.048, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002056/1.05, allocations: 441 kB / 1.225 GB, free: 10.35 MB / 0.8073 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.0005328/1.05, allocations: 206.9 kB / 1.225 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00113/1.051, allocations: 0.6015 MB / 1.225 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.051, allocations: 1.156 kB / 1.225 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004233/1.052, allocations: 276.9 kB / 1.226 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/1.054, allocations: 440.1 kB / 1.226 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/1.058, allocations: 2.636 MB / 1.229 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009534/1.059, allocations: 1.135 MB / 1.23 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001017/1.06, allocations: 277.8 kB / 1.23 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/1.06, allocations: 74.72 kB / 1.23 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of SimCode: time 4.9e-07/1.06, allocations: 1.219 kB / 1.23 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of Templates: time 0.03564/1.096, allocations: 16.2 MB / 1.246 GB, free: 4.195 MB / 0.8073 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)