Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.659/4.659, allocations: 0.5623 GB / 0.5769 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002356/0.002355, allocations: 362.9 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.858/3.858, allocations: 410.7 MB / 1.112 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001765/0.001765, allocations: 178.9 kB / 1.225 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005613/0.0005616, allocations: 16 kB / 1.348 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5759/0.5764, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1691/0.7456, allocations: 175.1 MB / 1.632 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.7619, allocations: 13.18 MB / 1.645 GB, free: 96 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.7631, allocations: 31.81 kB / 1.645 GB, free: 95.96 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.7645, allocations: 453.1 kB / 1.645 GB, free: 95.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.004559/0.7691, allocations: 1.654 MB / 1.647 GB, free: 93.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.7722, allocations: 0.9278 MB / 1.648 GB, free: 92.95 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003014/0.7753, allocations: 3.033 MB / 1.651 GB, free: 89.91 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.7763, allocations: 0.8085 MB / 1.651 GB, free: 89.07 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002187/0.7785, allocations: 1.151 MB / 1.652 GB, free: 87.92 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.7798, allocations: 0.8874 MB / 1.653 GB, free: 87.03 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.7799, allocations: 48 kB / 1.653 GB, free: 86.98 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.7814, allocations: 490.7 kB / 1.654 GB, free: 86.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.7818, allocations: 442.8 kB / 1.654 GB, free: 86.07 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.7821, allocations: 261.1 kB / 1.655 GB, free: 85.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.7835, allocations: 1.321 MB / 1.656 GB, free: 84.48 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.643e-06/0.7835, allocations: 0 / 1.656 GB, free: 84.48 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.113e-06/0.7835, allocations: 0 / 1.656 GB, free: 84.48 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.7836, allocations: 0 / 1.656 GB, free: 84.48 MB / 0.8542 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.002014/0.7856, allocations: 1.231 MB / 1.657 GB, free: 83.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.7856, allocations: 15.62 kB / 1.657 GB, free: 83.18 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.7872, allocations: 250.3 kB / 1.657 GB, free: 82.94 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.789, allocations: 0.8238 MB / 1.658 GB, free: 82.08 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.7891, allocations: 70 kB / 1.658 GB, free: 82.01 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.7893, allocations: 96 kB / 1.658 GB, free: 81.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.7912, allocations: 1.165 MB / 1.659 GB, free: 80.68 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.7912, allocations: 0 / 1.659 GB, free: 80.68 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.7914, allocations: 40 kB / 1.659 GB, free: 80.64 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/0.7914, allocations: 41.91 kB / 1.659 GB, free: 80.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.7931, allocations: 0.9015 MB / 1.66 GB, free: 79.7 MB / 0.8542 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.005801/0.7989, allocations: 5.731 MB / 1.666 GB, free: 73.51 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009509/0.7999, allocations: 0.5615 MB / 1.666 GB, free: 72.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/0.8004, allocations: 323.4 kB / 1.667 GB, free: 72.61 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005806/0.801, allocations: 327.7 kB / 1.667 GB, free: 72.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.8011, allocations: 47 kB / 1.667 GB, free: 72.18 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=51): time 3.716e-06/0.8011, allocations: 0 / 1.667 GB, free: 72.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51): time 0.001904/0.803, allocations: 0.822 MB / 1.668 GB, free: 71.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.8031, allocations: 81.55 kB / 1.668 GB, free: 71.26 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.8041, allocations: 0.7431 MB / 1.669 GB, free: 70.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/0.8042, allocations: 41.83 kB / 1.669 GB, free: 70.46 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.8045, allocations: 0.5065 MB / 1.669 GB, free: 69.94 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.8047, allocations: 185.3 kB / 1.669 GB, free: 69.76 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.8047, allocations: 16 kB / 1.669 GB, free: 69.74 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.8048, allocations: 334 kB / 1.67 GB, free: 69.41 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004685/0.8053, allocations: 253.8 kB / 1.67 GB, free: 69.16 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/0.806, allocations: 0.5784 MB / 1.671 GB, free: 68.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006244/0.8066, allocations: 364.5 kB / 1.671 GB, free: 68.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.755e-06/0.8066, allocations: 0 / 1.671 GB, free: 68.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001596/0.8082, allocations: 0.8585 MB / 1.672 GB, free: 67.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.8083, allocations: 12 kB / 1.672 GB, free: 67.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.8083, allocations: 8 kB / 1.672 GB, free: 67.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.8083, allocations: 12 kB / 1.672 GB, free: 67.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.8091, allocations: 159.7 kB / 1.672 GB, free: 67.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.8091, allocations: 15.94 kB / 1.672 GB, free: 67.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.8102, allocations: 142.4 kB / 1.672 GB, free: 66.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.8103, allocations: 36 kB / 1.672 GB, free: 66.86 MB / 0.8542 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.0005322/0.8108, allocations: 337.4 kB / 1.672 GB, free: 66.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.811, allocations: 86.92 kB / 1.673 GB, free: 66.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.8122, allocations: 0.6256 MB / 1.673 GB, free: 65.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.631e-06/0.8122, allocations: 4 kB / 1.673 GB, free: 65.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8123, allocations: 4 kB / 1.673 GB, free: 65.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008575/0.8131, allocations: 0.5289 MB / 1.674 GB, free: 65.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.8161, allocations: 1.765 MB / 1.675 GB, free: 63.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.662e-06/0.8162, allocations: 8 kB / 1.675 GB, free: 63.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/0.8169, allocations: 115.8 kB / 1.676 GB, free: 63.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.8169, allocations: 4 kB / 1.676 GB, free: 63.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.817, allocations: 12 kB / 1.676 GB, free: 63.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.992e-06/0.817, allocations: 4 kB / 1.676 GB, free: 63.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.817, allocations: 7.938 kB / 1.676 GB, free: 63.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.8186, allocations: 1.076 MB / 1.677 GB, free: 62.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004175/0.819, allocations: 236 kB / 1.677 GB, free: 61.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.8192, allocations: 12 kB / 1.677 GB, free: 61.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007213/0.8199, allocations: 67.72 kB / 1.677 GB, free: 61.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.82, allocations: 43.86 kB / 1.677 GB, free: 61.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.8201, allocations: 15.98 kB / 1.677 GB, free: 61.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007194/0.8208, allocations: 0.5107 MB / 1.677 GB, free: 61.24 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.98e-07/0.8208, allocations: 0 / 1.677 GB, free: 61.24 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001061/0.8219, allocations: 295.4 kB / 1.678 GB, free: 60.95 MB / 0.8542 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.0004909/0.8224, allocations: 203 kB / 1.678 GB, free: 60.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.8235, allocations: 0.6276 MB / 1.679 GB, free: 60.13 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.276e-06/0.8235, allocations: 0 / 1.679 GB, free: 60.13 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.824, allocations: 280.7 kB / 1.679 GB, free: 59.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.8264, allocations: 434.1 kB / 1.679 GB, free: 59.45 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.8298, allocations: 2.394 MB / 1.682 GB, free: 57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.8304, allocations: 1.149 MB / 1.683 GB, free: 55.83 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001168/0.8316, allocations: 271.2 kB / 1.683 GB, free: 55.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.8319, allocations: 87.34 kB / 1.683 GB, free: 55.47 MB / 0.8542 GB Notification: Performance of SimCode: time 1.71e-06/0.8319, allocations: 0 / 1.683 GB, free: 55.47 MB / 0.8542 GB Notification: Performance of Templates: time 0.03107/0.863, allocations: 14.86 MB / 1.698 GB, free: 40.95 MB / 0.8542 GB