Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.224/2.224, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.00156, allocations: 169 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.418/2.418, allocations: 205.4 MB / 0.5766 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001207, allocations: 109.4 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004996, allocations: 12.81 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2255, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.57/7.796, allocations: 2.246 GB / 3.145 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/7.796, allocations: 92.97 kB / 3.145 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.547/11.34, allocations: 0.638 GB / 3.783 GB, free: 173 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.816e-06/11.34, allocations: 0 / 3.783 GB, free: 173 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001404/11.34, allocations: 29.56 kB / 3.783 GB, free: 173 MB / 0.8855 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.005548/11.35, allocations: 1.463 MB / 3.784 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/11.35, allocations: 8.594 kB / 3.784 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/11.35, allocations: 245.2 kB / 3.785 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004614/11.36, allocations: 1.109 MB / 3.786 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.78e-05/11.36, allocations: 70.31 kB / 3.786 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/11.36, allocations: 96.95 kB / 3.786 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002825/11.36, allocations: 1.13 MB / 3.787 GB, free: 172.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/11.36, allocations: 11.25 kB / 3.787 GB, free: 172.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/11.36, allocations: 33.59 kB / 3.787 GB, free: 172.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.967e-05/11.36, allocations: 38.86 kB / 3.787 GB, free: 172 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/11.36, allocations: 0.8493 MB / 3.788 GB, free: 172 MB / 0.8855 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.008606/11.37, allocations: 5.689 MB / 3.793 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/11.37, allocations: 0.5333 MB / 3.794 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007717/11.37, allocations: 307.5 kB / 3.794 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/11.37, allocations: 37.56 kB / 3.794 GB, free: 168 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=49): time 3.317e-06/11.37, allocations: 2.25 kB / 3.794 GB, free: 168 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.002491/11.38, allocations: 0.7719 MB / 3.795 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/11.38, allocations: 57.91 kB / 3.795 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/11.38, allocations: 0.6406 MB / 3.796 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/11.38, allocations: 38.16 kB / 3.796 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/11.38, allocations: 0.498 MB / 3.796 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/11.38, allocations: 181.2 kB / 3.796 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/11.38, allocations: 14.75 kB / 3.796 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001578/11.38, allocations: 393.3 kB / 3.797 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/11.38, allocations: 241.1 kB / 3.797 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/11.38, allocations: 0.559 MB / 3.798 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/11.38, allocations: 347.4 kB / 3.798 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/11.38, allocations: 3.5 kB / 3.798 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001982/11.38, allocations: 0.8249 MB / 3.799 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/11.38, allocations: 8.969 kB / 3.799 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/11.38, allocations: 10.28 kB / 3.799 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.524e-05/11.38, allocations: 15.06 kB / 3.799 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/11.38, allocations: 163.8 kB / 3.799 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/11.38, allocations: 18.94 kB / 3.799 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/11.39, allocations: 131 kB / 3.799 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/11.39, allocations: 38.27 kB / 3.799 GB, free: 166.6 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007937/11.39, allocations: 337.7 kB / 3.799 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/11.39, allocations: 85.81 kB / 3.799 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/11.39, allocations: 0.6046 MB / 3.8 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/11.39, allocations: 3.969 kB / 3.8 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/11.39, allocations: 0 / 3.8 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/11.39, allocations: 0.5024 MB / 3.801 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/11.39, allocations: 1.646 MB / 3.802 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/11.39, allocations: 3.25 kB / 3.802 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/11.39, allocations: 111.2 kB / 3.802 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/11.39, allocations: 6.75 kB / 3.802 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/11.39, allocations: 19.2 kB / 3.802 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-06/11.39, allocations: 7.266 kB / 3.802 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/11.39, allocations: 3.953 kB / 3.802 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/11.4, allocations: 1.106 MB / 3.803 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006589/11.4, allocations: 230.2 kB / 3.804 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/11.4, allocations: 12.61 kB / 3.804 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/11.4, allocations: 66.97 kB / 3.804 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/11.4, allocations: 35.06 kB / 3.804 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/11.4, allocations: 26.77 kB / 3.804 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001048/11.4, allocations: 0.4951 MB / 3.804 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.42e-07/11.4, allocations: 0 / 3.804 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002459/11.4, allocations: 490.7 kB / 3.805 GB, free: 165.3 MB / 0.8855 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 (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.004469/11.41, allocations: 1.886 MB / 3.806 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002107/11.41, allocations: 0.5913 MB / 3.807 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/11.41, allocations: 4.125 kB / 3.807 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006027/11.41, allocations: 261.6 kB / 3.807 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00408/11.41, allocations: 433.4 kB / 3.808 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/11.42, allocations: 2.333 MB / 3.81 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007778/11.42, allocations: 1.146 MB / 3.811 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00162/11.42, allocations: 264.3 kB / 3.811 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/11.42, allocations: 73.92 kB / 3.811 GB, free: 163 MB / 0.8855 GB Notification: Performance of SimCode: time 1.382e-06/11.42, allocations: 0 / 3.811 GB, free: 163 MB / 0.8855 GB Notification: Performance of Templates: time 0.08265/11.5, allocations: 36.52 MB / 3.847 GB, free: 162.4 MB / 0.8855 GB