Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001528/0.001528, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001942/0.001942, allocations: 188.1 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.19 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3798, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9999/1.38, allocations: 192.6 MB / 1.256 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01833/1.398, allocations: 14.21 MB / 1.27 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/1.4, allocations: 34.95 kB / 1.27 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/1.401, allocations: 441 kB / 1.27 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004882/1.406, allocations: 1.767 MB / 1.272 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/1.409, allocations: 0.7863 MB / 1.273 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003855/1.413, allocations: 2.575 MB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/1.415, allocations: 1.078 MB / 1.276 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005611/1.42, allocations: 1.585 MB / 1.278 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/1.423, allocations: 0.9864 MB / 1.279 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006497/1.424, allocations: 106.5 kB / 1.279 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006176/1.43, allocations: 1.151 MB / 1.28 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001679/1.432, allocations: 0.4941 MB / 1.28 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002234/1.434, allocations: 0.6353 MB / 1.281 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006227/1.44, allocations: 1.963 MB / 1.283 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.44, allocations: 1.375 kB / 1.283 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.256e-06/1.441, allocations: 4.875 kB / 1.283 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.679e-05/1.441, allocations: 0 / 1.283 GB, free: 5.25 MB / 0.9981 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.003529/1.444, allocations: 1.456 MB / 1.284 GB, free: 20.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.444, allocations: 10.19 kB / 1.284 GB, free: 20.47 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/1.446, allocations: 252.7 kB / 1.285 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/1.447, allocations: 0.7495 MB / 1.285 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/1.448, allocations: 69.25 kB / 1.285 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/1.448, allocations: 101.3 kB / 1.285 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/1.45, allocations: 1.171 MB / 1.287 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/1.45, allocations: 4.281 kB / 1.287 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/1.451, allocations: 41.41 kB / 1.287 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-05/1.451, allocations: 35.06 kB / 1.287 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/1.452, allocations: 0.9036 MB / 1.288 GB, free: 19.85 MB / 1.014 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.006641/1.459, allocations: 5.729 MB / 1.293 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009119/1.46, allocations: 0.5403 MB / 1.294 GB, free: 16.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/1.46, allocations: 324.3 kB / 1.294 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007004/1.461, allocations: 317.4 kB / 1.294 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/1.461, allocations: 38.09 kB / 1.294 GB, free: 15.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.304e-06/1.461, allocations: 0 / 1.294 GB, free: 15.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.00172/1.463, allocations: 0.8045 MB / 1.295 GB, free: 15.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/1.463, allocations: 57.66 kB / 1.295 GB, free: 15.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/1.464, allocations: 0.7529 MB / 1.296 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/1.464, allocations: 36.61 kB / 1.296 GB, free: 15.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/1.464, allocations: 0.5081 MB / 1.296 GB, free: 15.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/1.465, allocations: 174.6 kB / 1.297 GB, free: 15.03 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/1.465, allocations: 148.7 kB / 1.297 GB, free: 15.01 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.465, allocations: 334.4 kB / 1.297 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/1.465, allocations: 246.1 kB / 1.297 GB, free: 14.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/1.466, allocations: 0.5529 MB / 1.298 GB, free: 14.35 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.467, allocations: 0.7994 MB / 1.299 GB, free: 14.06 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.467, allocations: 2.75 kB / 1.299 GB, free: 14.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001645/1.469, allocations: 0.8469 MB / 1.299 GB, free: 13.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/1.469, allocations: 8.25 kB / 1.299 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/1.469, allocations: 12.72 kB / 1.299 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/1.469, allocations: 11.38 kB / 1.3 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/1.469, allocations: 152 kB / 1.3 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-05/1.469, allocations: 26.86 kB / 1.3 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.471, allocations: 143.8 kB / 1.3 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/1.471, allocations: 38.14 kB / 1.3 GB, free: 13.93 MB / 1.014 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.0004719/1.471, allocations: 329.9 kB / 1.3 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/1.471, allocations: 86.16 kB / 1.3 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009743/1.472, allocations: 0.6153 MB / 1.301 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.472, allocations: 9.75 kB / 1.301 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.472, allocations: 4.938 kB / 1.301 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007153/1.473, allocations: 0.5193 MB / 1.301 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/1.475, allocations: 1.669 MB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.475, allocations: 2.281 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/1.476, allocations: 104.3 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/1.476, allocations: 10.72 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/1.476, allocations: 13.66 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/1.476, allocations: 8.438 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.476, allocations: 2.438 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/1.478, allocations: 1.019 MB / 1.304 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/1.478, allocations: 220.6 kB / 1.304 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/1.478, allocations: 14.98 kB / 1.304 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005982/1.479, allocations: 67.55 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/1.479, allocations: 36.14 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/1.479, allocations: 21.78 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007324/1.479, allocations: 0.5123 MB / 1.305 GB, free: 12.76 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.48, allocations: 0.6562 kB / 1.305 GB, free: 12.76 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001113/1.481, allocations: 297.3 kB / 1.305 GB, free: 12.73 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0005539/1.481, allocations: 208.3 kB / 1.305 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001242/1.482, allocations: 0.7179 MB / 1.306 GB, free: 12.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.482, allocations: 2.312 kB / 1.306 GB, free: 12.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/1.483, allocations: 276.1 kB / 1.306 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/1.485, allocations: 434.4 kB / 1.307 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/1.488, allocations: 2.32 MB / 1.309 GB, free: 11.33 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007322/1.489, allocations: 1.122 MB / 1.31 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009526/1.49, allocations: 268 kB / 1.31 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/1.49, allocations: 72.47 kB / 1.311 GB, free: 10.57 MB / 1.014 GB Notification: Performance of SimCode: time 7.01e-07/1.49, allocations: 1.203 kB / 1.311 GB, free: 10.57 MB / 1.014 GB Notification: Performance of Templates: time 0.02666/1.517, allocations: 15.35 MB / 1.326 GB, free: 9.609 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)