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.00109/0.001091, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001157/0.001157, allocations: 195.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.1 MB / 222 MB, free: 4.992 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.631/1.631, allocations: 251.6 MB / 0.5088 GB, free: 3.398 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.00186/0.00186, allocations: 67.91 kB / 0.6216 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6308/0.6327, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8009/1.434, allocations: 193.1 MB / 0.9123 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02105/1.455, allocations: 14.48 MB / 0.9265 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/1.457, allocations: 30.72 kB / 0.9265 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001808/1.459, allocations: 422.9 kB / 0.9269 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008704/1.468, allocations: 1.774 MB / 0.9286 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004949/1.473, allocations: 0.7892 MB / 0.9294 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006892/1.479, allocations: 3.664 MB / 0.933 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/1.481, allocations: 0.9465 MB / 0.9339 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00577/1.487, allocations: 1.453 MB / 0.9353 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/1.489, allocations: 0.9634 MB / 0.9363 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/1.489, allocations: 61.41 kB / 0.9363 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/1.493, allocations: 1.254 MB / 0.9376 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005454/1.493, allocations: 477.7 kB / 0.938 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/1.494, allocations: 0.587 MB / 0.9386 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003377/1.497, allocations: 1.928 MB / 0.9405 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.497, allocations: 2.906 kB / 0.9405 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/1.497, allocations: 0 / 0.9405 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.36e-05/1.498, allocations: 0 / 0.9405 GB, free: 1.344 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.002631/1.5, allocations: 1.44 MB / 0.9419 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.5, allocations: 10.75 kB / 0.9419 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/1.502, allocations: 257.9 kB / 0.9421 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/1.503, allocations: 0.7428 MB / 0.9429 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/1.503, allocations: 71.12 kB / 0.9429 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/1.503, allocations: 96.48 kB / 0.943 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/1.505, allocations: 1.179 MB / 0.9442 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/1.505, allocations: 10.12 kB / 0.9442 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.239e-05/1.505, allocations: 38.19 kB / 0.9442 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/1.505, allocations: 32 kB / 0.9442 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/1.506, allocations: 0.9078 MB / 0.9451 GB, free: 15.94 MB / 0.7325 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.005846/1.512, allocations: 5.719 MB / 0.9507 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/1.513, allocations: 0.4963 MB / 0.9512 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004428/1.513, allocations: 316.1 kB / 0.9515 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007239/1.514, allocations: 314 kB / 0.9518 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/1.514, allocations: 37 kB / 0.9518 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.926e-06/1.514, allocations: 0 / 0.9518 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001614/1.516, allocations: 0.7921 MB / 0.9526 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/1.516, allocations: 60.56 kB / 0.9527 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009529/1.517, allocations: 0.741 MB / 0.9534 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/1.517, allocations: 36.14 kB / 0.9534 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/1.517, allocations: 0.5006 MB / 0.9539 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/1.517, allocations: 176.5 kB / 0.9541 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/1.518, allocations: 144.2 kB / 0.9542 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000312/1.518, allocations: 388.1 kB / 0.9546 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/1.518, allocations: 254.4 kB / 0.9548 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/1.519, allocations: 0.5403 MB / 0.9554 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009615/1.52, allocations: 0.7895 MB / 0.9561 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.52, allocations: 2.781 kB / 0.9561 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001208/1.521, allocations: 0.8392 MB / 0.957 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/1.521, allocations: 11.38 kB / 0.957 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.521, allocations: 10.41 kB / 0.957 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/1.521, allocations: 11.22 kB / 0.957 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/1.522, allocations: 151.7 kB / 0.9571 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-05/1.522, allocations: 26.34 kB / 0.9572 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009622/1.523, allocations: 142.1 kB / 0.9573 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/1.523, allocations: 34.16 kB / 0.9573 GB, free: 9.965 MB / 0.7325 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.0004473/1.523, allocations: 329.5 kB / 0.9576 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/1.523, allocations: 86.47 kB / 0.9577 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000972/1.524, allocations: 0.6078 MB / 0.9583 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.524, allocations: 8.672 kB / 0.9583 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/1.524, allocations: 7.938 kB / 0.9583 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000699/1.525, allocations: 0.5119 MB / 0.9588 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/1.528, allocations: 1.654 MB / 0.9604 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.528, allocations: 3.406 kB / 0.9604 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/1.528, allocations: 112 kB / 0.9606 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/1.528, allocations: 3.406 kB / 0.9606 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/1.528, allocations: 15.34 kB / 0.9606 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/1.528, allocations: 2.312 kB / 0.9606 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.528, allocations: 6.266 kB / 0.9606 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/1.53, allocations: 1.05 MB / 0.9616 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/1.53, allocations: 224.1 kB / 0.9618 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.53, allocations: 14.66 kB / 0.9618 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/1.531, allocations: 69.23 kB / 0.9619 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/1.531, allocations: 35.2 kB / 0.9619 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/1.531, allocations: 24.08 kB / 0.962 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000659/1.532, allocations: 0.5064 MB / 0.9624 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/1.532, allocations: 0 / 0.9624 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00095/1.533, allocations: 304.8 kB / 0.9627 GB, free: 8.734 MB / 0.7325 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.000619/1.533, allocations: 216.1 kB / 0.9629 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001048/1.534, allocations: 0.5915 MB / 0.9635 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.534, allocations: 0.8125 kB / 0.9635 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000435/1.535, allocations: 278 kB / 0.9638 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.537, allocations: 440.9 kB / 0.9642 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/1.54, allocations: 2.3 MB / 0.9665 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/1.541, allocations: 1.116 MB / 0.9675 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008945/1.542, allocations: 265.4 kB / 0.9678 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/1.542, allocations: 69.08 kB / 0.9679 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/1.542, allocations: 0 / 0.9679 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of Templates: time 0.02946/1.571, allocations: 14.86 MB / 0.9824 GB, free: 2.023 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (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)