Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.083/5.083, allocations: 0.5623 GB / 0.5775 GB, free: 3.395 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.002678/0.002678, allocations: 354.6 kB / 0.6446 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 4.456/4.456, allocations: 410.7 MB / 1.113 GB, free: 5.992 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.002087/0.002087, allocations: 179.5 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004965, allocations: 12 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8048/0.8053, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.73/7.535, allocations: 2.085 GB / 3.546 GB, free: 273.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/7.535, allocations: 92.81 kB / 3.546 GB, free: 273.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.638/10.17, allocations: 0.5865 GB / 4.133 GB, free: 91.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.534e-06/10.17, allocations: 0 / 4.133 GB, free: 91.88 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.338e-05/10.17, allocations: 24 kB / 4.133 GB, free: 91.86 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003965/10.18, allocations: 1.24 MB / 4.134 GB, free: 90.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/10.18, allocations: 11.62 kB / 4.134 GB, free: 90.56 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/10.18, allocations: 215.3 kB / 4.134 GB, free: 90.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/10.18, allocations: 0.6601 MB / 4.135 GB, free: 89.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/10.18, allocations: 58 kB / 4.135 GB, free: 89.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/10.18, allocations: 84 kB / 4.135 GB, free: 89.51 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/10.18, allocations: 0.9093 MB / 4.136 GB, free: 88.52 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/10.18, allocations: 7.906 kB / 4.136 GB, free: 88.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/10.18, allocations: 35.94 kB / 4.136 GB, free: 88.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/10.18, allocations: 25.31 kB / 4.136 GB, free: 88.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/10.19, allocations: 0.5943 MB / 4.137 GB, free: 87.86 MB / 0.948 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.006068/10.19, allocations: 4.562 MB / 4.141 GB, free: 83 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009148/10.19, allocations: 439.7 kB / 4.142 GB, free: 82.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/10.19, allocations: 226.9 kB / 4.142 GB, free: 82.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/10.19, allocations: 117 kB / 4.142 GB, free: 82.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/10.19, allocations: 38.56 kB / 4.142 GB, free: 82.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.386e-06/10.19, allocations: 0 / 4.142 GB, free: 82.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.004083/10.2, allocations: 1.544 MB / 4.143 GB, free: 80.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/10.2, allocations: 106.8 kB / 4.144 GB, free: 80.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/10.2, allocations: 0.7115 MB / 4.144 GB, free: 79.69 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.253e-05/10.2, allocations: 37.7 kB / 4.144 GB, free: 79.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/10.2, allocations: 415.8 kB / 4.145 GB, free: 79.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/10.2, allocations: 161.7 kB / 4.145 GB, free: 79.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/10.2, allocations: 8 kB / 4.145 GB, free: 79.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001356/10.2, allocations: 394.8 kB / 4.145 GB, free: 78.67 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/10.2, allocations: 177.2 kB / 4.145 GB, free: 78.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/10.2, allocations: 423.5 kB / 4.146 GB, free: 77.98 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/10.2, allocations: 0.6566 MB / 4.146 GB, free: 77.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/10.2, allocations: 0 / 4.146 GB, free: 77.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001536/10.2, allocations: 0.6681 MB / 4.147 GB, free: 76.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/10.2, allocations: 12.22 kB / 4.147 GB, free: 76.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/10.2, allocations: 4 kB / 4.147 GB, free: 76.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/10.2, allocations: 19.94 kB / 4.147 GB, free: 76.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008563/10.21, allocations: 123.8 kB / 4.147 GB, free: 76.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/10.21, allocations: 15.94 kB / 4.147 GB, free: 76.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/10.21, allocations: 47.81 kB / 4.147 GB, free: 76.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.181e-05/10.21, allocations: 36 kB / 4.147 GB, free: 76.39 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0006155/10.21, allocations: 273.1 kB / 4.148 GB, free: 76.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/10.21, allocations: 83.02 kB / 4.148 GB, free: 76.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/10.21, allocations: 87.58 kB / 4.148 GB, free: 75.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/10.21, allocations: 4 kB / 4.148 GB, free: 75.94 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/10.21, allocations: 4 kB / 4.148 GB, free: 75.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009223/10.21, allocations: 0.6839 MB / 4.148 GB, free: 75.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/10.21, allocations: 1.606 MB / 4.15 GB, free: 73.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/10.21, allocations: 4 kB / 4.15 GB, free: 73.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/10.21, allocations: 103.8 kB / 4.15 GB, free: 73.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/10.21, allocations: 4 kB / 4.15 GB, free: 73.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/10.21, allocations: 20.45 kB / 4.15 GB, free: 73.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/10.21, allocations: 11.95 kB / 4.15 GB, free: 73.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/10.21, allocations: 11.94 kB / 4.15 GB, free: 73.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/10.21, allocations: 0.874 MB / 4.151 GB, free: 72.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/10.22, allocations: 208.1 kB / 4.151 GB, free: 72.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/10.22, allocations: 12 kB / 4.151 GB, free: 72.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008933/10.22, allocations: 35.97 kB / 4.151 GB, free: 72.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/10.22, allocations: 43.84 kB / 4.151 GB, free: 72.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/10.22, allocations: 16 kB / 4.151 GB, free: 72.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009074/10.22, allocations: 0.5029 MB / 4.152 GB, free: 71.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.9e-07/10.22, allocations: 0 / 4.152 GB, free: 71.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001822/10.22, allocations: 371.9 kB / 4.152 GB, free: 71.18 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.003009/10.22, allocations: 1.657 MB / 4.154 GB, free: 69.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001347/10.22, allocations: 462.3 kB / 4.154 GB, free: 69 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/10.22, allocations: 0 / 4.154 GB, free: 69 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004326/10.22, allocations: 209.2 kB / 4.154 GB, free: 68.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004068/10.23, allocations: 474.9 kB / 4.155 GB, free: 68.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/10.23, allocations: 1.967 MB / 4.157 GB, free: 66.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/10.23, allocations: 1.047 MB / 4.158 GB, free: 65.22 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001213/10.23, allocations: 198.9 kB / 4.158 GB, free: 65.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/10.23, allocations: 59.44 kB / 4.158 GB, free: 64.96 MB / 0.948 GB Notification: Performance of SimCode: time 1.633e-06/10.23, allocations: 4 kB / 4.158 GB, free: 64.96 MB / 0.948 GB Notification: Performance of Templates: time 0.07514/10.31, allocations: 33.79 MB / 4.191 GB, free: 31.49 MB / 0.948 GB