Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.633/1.633, allocations: 288.3 MB / 303.2 MB, free: 8.145 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.00257/0.00257, allocations: 179.5 kB / 371.8 MB, free: 10.29 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.729/1.729, allocations: 205.4 MB / 0.6306 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009417/0.0009416, allocations: 93.61 kB / 0.7439 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005871/0.0005872, allocations: 12.56 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2731, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7174/0.9905, allocations: 161.8 MB / 1.137 GB, free: 84 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0168/1.007, allocations: 12.15 MB / 1.149 GB, free: 10.2 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/1.009, allocations: 31.03 kB / 1.149 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/1.011, allocations: 497.3 kB / 1.15 GB, free: 9.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006436/1.018, allocations: 1.539 MB / 1.151 GB, free: 8.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004011/1.022, allocations: 0.9354 MB / 1.152 GB, free: 7.867 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003817/1.025, allocations: 1.474 MB / 1.154 GB, free: 6.918 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/1.028, allocations: 0.8211 MB / 1.154 GB, free: 6.445 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003978/1.032, allocations: 1.109 MB / 1.156 GB, free: 5.734 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/1.033, allocations: 0.6272 MB / 1.156 GB, free: 5.375 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003732/1.034, allocations: 47.78 kB / 1.156 GB, free: 5.375 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/1.036, allocations: 0.5371 MB / 1.157 GB, free: 5.156 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000917/1.037, allocations: 410 kB / 1.157 GB, free: 4.922 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009401/1.038, allocations: 254.6 kB / 1.157 GB, free: 4.785 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002758/1.041, allocations: 1.311 MB / 1.159 GB, free: 3.922 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/1.041, allocations: 3.938 kB / 1.159 GB, free: 3.918 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/1.041, allocations: 0 / 1.159 GB, free: 3.918 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.276e-05/1.041, allocations: 0 / 1.159 GB, free: 3.918 MB / 0.698 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.003848/1.045, allocations: 1.237 MB / 1.16 GB, free: 2.953 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.045, allocations: 8.562 kB / 1.16 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/1.047, allocations: 246.7 kB / 1.16 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/1.05, allocations: 0.7489 MB / 1.161 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/1.05, allocations: 73.56 kB / 1.161 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000453/1.051, allocations: 92.19 kB / 1.161 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/1.054, allocations: 1.161 MB / 1.162 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.035e-05/1.054, allocations: 5.125 kB / 1.162 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/1.054, allocations: 41.77 kB / 1.162 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.192e-05/1.054, allocations: 33.19 kB / 1.162 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/1.057, allocations: 0.9001 MB / 1.163 GB, free: 0.957 MB / 0.698 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.008505/1.065, allocations: 5.728 MB / 1.169 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/1.066, allocations: 0.573 MB / 1.169 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004462/1.067, allocations: 143.2 kB / 1.169 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/1.067, allocations: 47.53 kB / 1.169 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.316e-06/1.067, allocations: 0 / 1.169 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.002052/1.069, allocations: 0.8221 MB / 1.17 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/1.069, allocations: 83.27 kB / 1.17 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/1.07, allocations: 0.7412 MB / 1.171 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.672e-05/1.07, allocations: 39.17 kB / 1.171 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/1.071, allocations: 0.5004 MB / 1.172 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/1.071, allocations: 191.5 kB / 1.172 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/1.071, allocations: 15.09 kB / 1.172 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.071, allocations: 341.1 kB / 1.172 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/1.072, allocations: 252.8 kB / 1.172 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/1.072, allocations: 0.5762 MB / 1.173 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/1.073, allocations: 360.2 kB / 1.173 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/1.073, allocations: 2.531 kB / 1.173 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001596/1.075, allocations: 0.85 MB / 1.174 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/1.075, allocations: 11.14 kB / 1.174 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/1.075, allocations: 8.562 kB / 1.174 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/1.075, allocations: 16.59 kB / 1.174 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000675/1.075, allocations: 169.3 kB / 1.174 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/1.075, allocations: 14.31 kB / 1.174 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.077, allocations: 135.8 kB / 1.174 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/1.077, allocations: 32.19 kB / 1.174 GB, free: 7.906 MB / 0.7136 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.0007673/1.078, allocations: 337.7 kB / 1.175 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/1.078, allocations: 84.72 kB / 1.175 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/1.079, allocations: 0.6392 MB / 1.175 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.079, allocations: 9.25 kB / 1.175 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.079, allocations: 0 / 1.175 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008394/1.08, allocations: 0.5229 MB / 1.176 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003556/1.084, allocations: 1.773 MB / 1.178 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.084, allocations: 2.062 kB / 1.178 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/1.084, allocations: 115 kB / 1.178 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/1.084, allocations: 9.312 kB / 1.178 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/1.084, allocations: 13.5 kB / 1.178 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.084, allocations: 8.734 kB / 1.178 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.084, allocations: 6.688 kB / 1.178 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/1.086, allocations: 1.162 MB / 1.179 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000606/1.087, allocations: 231.8 kB / 1.179 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/1.087, allocations: 17.78 kB / 1.179 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/1.088, allocations: 66.44 kB / 1.179 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/1.088, allocations: 38.27 kB / 1.179 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/1.088, allocations: 23.52 kB / 1.179 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007749/1.089, allocations: 0.502 MB / 1.18 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.089, allocations: 0 / 1.18 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001197/1.09, allocations: 296.4 kB / 1.18 GB, free: 4.258 MB / 0.7136 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.0005853/1.09, allocations: 214.6 kB / 1.18 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001148/1.092, allocations: 0.62 MB / 1.181 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.092, allocations: 2.844 kB / 1.181 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/1.092, allocations: 275.6 kB / 1.181 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/1.094, allocations: 434.3 kB / 1.182 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/1.098, allocations: 2.365 MB / 1.184 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009139/1.099, allocations: 1.143 MB / 1.185 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001202/1.1, allocations: 278.9 kB / 1.185 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/1.101, allocations: 77.86 kB / 1.185 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/1.101, allocations: 0 / 1.185 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of Templates: time 0.03083/1.131, allocations: 14.84 MB / 1.2 GB, free: 5.789 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)