Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001177/0.001177, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001145/0.001145, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.682/1.682, allocations: 251.9 MB / 0.51 GB, free: 4.84 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006351/0.0006358, allocations: 16 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6273/0.6279, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2015/0.8294, allocations: 162 MB / 0.8861 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.8466, allocations: 12.25 MB / 0.8981 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.8482, allocations: 27.81 kB / 0.8981 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.8502, allocations: 0.4939 MB / 0.8986 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007388/0.8576, allocations: 1.55 MB / 0.9001 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004753/0.8624, allocations: 0.9904 MB / 0.9011 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003552/0.866, allocations: 1.489 MB / 0.9026 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.8674, allocations: 0.8242 MB / 0.9034 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.8702, allocations: 1.114 MB / 0.9044 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.8713, allocations: 0.6306 MB / 0.9051 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.8714, allocations: 48 kB / 0.9051 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.8732, allocations: 0.5382 MB / 0.9056 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.8737, allocations: 415 kB / 0.906 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.874, allocations: 249.1 kB / 0.9063 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.8757, allocations: 1.321 MB / 0.9076 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.8757, allocations: 0 / 0.9076 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8757, allocations: 4 kB / 0.9076 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.96e-05/0.8757, allocations: 0 / 0.9076 GB, free: 3.047 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002266/0.878, allocations: 1.231 MB / 0.9088 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.8781, allocations: 8.031 kB / 0.9088 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.8794, allocations: 246.3 kB / 0.909 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.881, allocations: 0.7498 MB / 0.9097 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.8811, allocations: 70 kB / 0.9098 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.8813, allocations: 95.95 kB / 0.9099 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5579/1.439, allocations: 1.162 MB / 0.911 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/1.439, allocations: 5.516 kB / 0.911 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/1.439, allocations: 39.66 kB / 0.9111 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/1.44, allocations: 36.61 kB / 0.9111 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/1.442, allocations: 0.9054 MB / 0.912 GB, free: 10.09 MB / 0.7169 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.007063/1.449, allocations: 5.73 MB / 0.9176 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009459/1.45, allocations: 0.5401 MB / 0.9181 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004235/1.45, allocations: 151.8 kB / 0.9183 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/1.45, allocations: 40.92 kB / 0.9183 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=51): time 2.786e-06/1.45, allocations: 0 / 0.9183 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=51): time 0.001881/1.452, allocations: 0.8117 MB / 0.9191 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/1.452, allocations: 82.94 kB / 0.9192 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/1.453, allocations: 0.7386 MB / 0.9199 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.999e-05/1.453, allocations: 40.89 kB / 0.9199 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/1.454, allocations: 0.4899 MB / 0.9204 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/1.454, allocations: 190.6 kB / 0.9206 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/1.454, allocations: 16.02 kB / 0.9206 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.454, allocations: 389.2 kB / 0.921 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/1.455, allocations: 255.1 kB / 0.9212 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/1.455, allocations: 0.552 MB / 0.9218 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/1.456, allocations: 350.2 kB / 0.9221 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.456, allocations: 1.969 kB / 0.9221 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001621/1.458, allocations: 0.8518 MB / 0.9229 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/1.458, allocations: 17.44 kB / 0.9229 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/1.458, allocations: 7.75 kB / 0.923 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/1.458, allocations: 13 kB / 0.923 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/1.458, allocations: 158.8 kB / 0.9231 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/1.458, allocations: 17.08 kB / 0.9231 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.46, allocations: 146.1 kB / 0.9233 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/1.46, allocations: 33.92 kB / 0.9233 GB, free: 4.641 MB / 0.7169 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.0005988/1.46, allocations: 329.5 kB / 0.9236 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/1.46, allocations: 89.59 kB / 0.9237 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/1.462, allocations: 0.6283 MB / 0.9243 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.462, allocations: 8.719 kB / 0.9243 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.462, allocations: 1.312 kB / 0.9243 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008191/1.463, allocations: 0.5182 MB / 0.9248 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/1.466, allocations: 1.77 MB / 0.9266 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.466, allocations: 1.312 kB / 0.9266 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005436/1.467, allocations: 115.7 kB / 0.9267 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.467, allocations: 5.125 kB / 0.9267 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/1.467, allocations: 17 kB / 0.9267 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/1.467, allocations: 7.125 kB / 0.9267 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.467, allocations: 2.75 kB / 0.9267 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/1.468, allocations: 1.169 MB / 0.9278 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/1.469, allocations: 236.1 kB / 0.9281 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.469, allocations: 12.78 kB / 0.9281 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/1.469, allocations: 72.47 kB / 0.9282 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/1.469, allocations: 39.3 kB / 0.9282 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/1.469, allocations: 18.42 kB / 0.9282 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006428/1.47, allocations: 0.5008 MB / 0.9287 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.47, allocations: 0 / 0.9287 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001027/1.471, allocations: 309.8 kB / 0.929 GB, free: 19.19 MB / 0.7325 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.0005277/1.472, allocations: 203.5 kB / 0.9292 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009295/1.473, allocations: 0.6134 MB / 0.9298 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.473, allocations: 3.281 kB / 0.9298 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/1.473, allocations: 280.6 kB / 0.9301 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/1.475, allocations: 427.8 kB / 0.9305 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/1.478, allocations: 2.361 MB / 0.9328 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/1.479, allocations: 1.141 MB / 0.9339 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009627/1.48, allocations: 272.8 kB / 0.9341 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/1.48, allocations: 76.31 kB / 0.9342 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/1.48, allocations: 0 / 0.9342 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.02598/1.506, allocations: 14.75 MB / 0.9486 GB, free: 16.19 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) Environment - environmentSimulation: