Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.003409/0.003409, allocations: 88.44 kB / 19.96 MB, free: 4.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005702/0.005702, allocations: 169.2 kB / 23.24 MB, free: 1.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.625/1.625, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.253/3.253, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.058e-05/5.206e-05, allocations: 6.078 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9372/0.9372, allocations: 172.5 MB / 1.17 GB, free: 7.137 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.02271/0.9599, allocations: 13.09 MB / 1.182 GB, free: 14.36 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.962, allocations: 52.16 kB / 1.182 GB, free: 14.33 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.9638, allocations: 0.4911 MB / 1.183 GB, free: 14.05 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.006215/0.97, allocations: 1.987 MB / 1.185 GB, free: 12.97 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.9732, allocations: 0.9271 MB / 1.186 GB, free: 12.49 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.004862/0.9781, allocations: 2.605 MB / 1.188 GB, free: 11.27 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.9798, allocations: 0.758 MB / 1.189 GB, free: 10.91 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006755/0.9865, allocations: 2.186 MB / 1.191 GB, free: 9.969 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.9888, allocations: 0.8653 MB / 1.192 GB, free: 9.691 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002527/0.989, allocations: 107 kB / 1.192 GB, free: 9.691 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.9917, allocations: 0.9254 MB / 1.193 GB, free: 9.371 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007465/0.9925, allocations: 0.5437 MB / 1.194 GB, free: 9.125 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008552/0.9933, allocations: 457.5 kB / 1.194 GB, free: 8.945 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.003396/0.9967, allocations: 1.944 MB / 1.196 GB, free: 8.266 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9967, allocations: 0 / 1.196 GB, free: 8.266 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9967, allocations: 0 / 1.196 GB, free: 8.266 MB / 1.042 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.9967, allocations: 3.625 kB / 1.196 GB, free: 8.266 MB / 1.042 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.002854/0.9996, allocations: 1.399 MB / 1.197 GB, free: 7.348 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.9996, allocations: 9.844 kB / 1.197 GB, free: 7.348 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/1.001, allocations: 261.5 kB / 1.198 GB, free: 7.266 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/1.003, allocations: 0.7245 MB / 1.198 GB, free: 6.836 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/1.003, allocations: 75.67 kB / 1.198 GB, free: 6.801 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/1.003, allocations: 90.25 kB / 1.198 GB, free: 6.773 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/1.005, allocations: 1.298 MB / 1.2 GB, free: 6.055 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/1.005, allocations: 9.375 kB / 1.2 GB, free: 6.047 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/1.005, allocations: 43.81 kB / 1.2 GB, free: 6.016 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/1.005, allocations: 32.75 kB / 1.2 GB, free: 6.012 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/1.007, allocations: 0.8978 MB / 1.201 GB, free: 5.715 MB / 1.042 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.006154/1.013, allocations: 3.991 MB / 1.205 GB, free: 2.711 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/1.014, allocations: 0.5112 MB / 1.205 GB, free: 2.449 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/1.014, allocations: 296.5 kB / 1.205 GB, free: 2.301 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005177/1.015, allocations: 77.91 kB / 1.205 GB, free: 2.273 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/1.015, allocations: 43.19 kB / 1.205 GB, free: 2.227 MB / 1.042 GB Notification: Performance of pre-optimization done (n=49): time 2.425e-06/1.015, allocations: 0 / 1.205 GB, free: 2.227 MB / 1.042 GB Notification: Performance of matching and sorting (n=49): time 0.00175/1.017, allocations: 0.7943 MB / 1.206 GB, free: 1.836 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/1.017, allocations: 60.31 kB / 1.206 GB, free: 1.77 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009177/1.018, allocations: 0.6615 MB / 1.207 GB, free: 1.383 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-05/1.018, allocations: 45.7 kB / 1.207 GB, free: 1.336 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/1.018, allocations: 0.5161 MB / 1.207 GB, free: 0.875 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/1.018, allocations: 181.9 kB / 1.208 GB, free: 0.7188 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/1.019, allocations: 144.1 kB / 1.208 GB, free: 0.6328 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002486/1.019, allocations: 386.6 kB / 1.208 GB, free: 272 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/1.02, allocations: 243.3 kB / 1.208 GB, free: 152 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009699/1.02, allocations: 0.8311 MB / 1.209 GB, free: 15.29 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.022, allocations: 0.8 MB / 1.21 GB, free: 14.69 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.022, allocations: 2.969 kB / 1.21 GB, free: 14.69 MB / 1.057 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001411/1.023, allocations: 0.8472 MB / 1.211 GB, free: 14.25 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.023, allocations: 8.188 kB / 1.211 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.023, allocations: 8.188 kB / 1.211 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/1.023, allocations: 11.59 kB / 1.211 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/1.024, allocations: 157.3 kB / 1.211 GB, free: 14.21 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/1.024, allocations: 19.03 kB / 1.211 GB, free: 14.21 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007623/1.024, allocations: 76.16 kB / 1.211 GB, free: 14.16 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/1.025, allocations: 31.59 kB / 1.211 GB, free: 14.15 MB / 1.057 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.0005452/1.025, allocations: 327.2 kB / 1.211 GB, free: 13.91 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/1.025, allocations: 90.02 kB / 1.211 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/1.026, allocations: 0.6078 MB / 1.212 GB, free: 13.51 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.026, allocations: 8.531 kB / 1.212 GB, free: 13.51 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.026, allocations: 1.75 kB / 1.212 GB, free: 13.51 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007987/1.027, allocations: 0.5233 MB / 1.213 GB, free: 13.22 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/1.03, allocations: 1.445 MB / 1.214 GB, free: 12.29 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.03, allocations: 2.938 kB / 1.214 GB, free: 12.29 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/1.031, allocations: 108.9 kB / 1.214 GB, free: 12.26 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.031, allocations: 9.656 kB / 1.214 GB, free: 12.26 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/1.031, allocations: 17.09 kB / 1.214 GB, free: 12.25 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.428e-05/1.031, allocations: 10.97 kB / 1.214 GB, free: 12.24 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.031, allocations: 0 / 1.214 GB, free: 12.24 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/1.033, allocations: 1.013 MB / 1.215 GB, free: 11.62 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/1.033, allocations: 145.3 kB / 1.215 GB, free: 11.53 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.665e-05/1.033, allocations: 15.75 kB / 1.215 GB, free: 11.52 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/1.034, allocations: 14.22 kB / 1.215 GB, free: 11.51 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/1.034, allocations: 37.22 kB / 1.215 GB, free: 11.49 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/1.034, allocations: 25.08 kB / 1.215 GB, free: 11.48 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0007687/1.035, allocations: 443.1 kB / 1.216 GB, free: 11.23 MB / 1.057 GB Notification: Performance of sort global known variables: time 9e-08/1.035, allocations: 0 / 1.216 GB, free: 11.23 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001408/1.036, allocations: 310.6 kB / 1.216 GB, free: 11.16 MB / 1.057 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.0006569/1.037, allocations: 197.9 kB / 1.216 GB, free: 11.02 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001031/1.038, allocations: 0.5874 MB / 1.217 GB, free: 10.75 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.038, allocations: 0 / 1.217 GB, free: 10.75 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003896/1.038, allocations: 260.4 kB / 1.217 GB, free: 10.64 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.04, allocations: 376.2 kB / 1.217 GB, free: 10.45 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/1.044, allocations: 1.829 MB / 1.219 GB, free: 9.285 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008387/1.045, allocations: 0.5243 MB / 1.22 GB, free: 8.98 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001119/1.046, allocations: 254.1 kB / 1.22 GB, free: 8.867 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/1.046, allocations: 65.48 kB / 1.22 GB, free: 8.855 MB / 1.057 GB Notification: Performance of SimCode: time 1.453e-06/1.046, allocations: 0 / 1.22 GB, free: 8.855 MB / 1.057 GB Notification: Performance of Templates: time 0.03197/1.078, allocations: 14.19 MB / 1.234 GB, free: 13.05 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.63772318419069]