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 2.617/2.617, allocations: 287.9 MB / 302.9 MB, free: 8.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 175.5 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 99.64 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004681, allocations: 15.86 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1573, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7678/0.9252, allocations: 155.8 MB / 1.131 GB, free: 456 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.9414, allocations: 10.91 MB / 1.141 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.9427, allocations: 25.28 kB / 1.142 GB, free: 15.26 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.9444, allocations: 432 kB / 1.142 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003957/0.9484, allocations: 1.036 MB / 1.143 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.9516, allocations: 0.8102 MB / 1.144 GB, free: 14.2 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002375/0.954, allocations: 1.158 MB / 1.145 GB, free: 13.76 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.9551, allocations: 0.6121 MB / 1.145 GB, free: 13.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.9586, allocations: 1.212 MB / 1.147 GB, free: 12.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008787/0.9595, allocations: 430.3 kB / 1.147 GB, free: 12.54 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.9596, allocations: 33.31 kB / 1.147 GB, free: 12.54 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.9612, allocations: 416.7 kB / 1.147 GB, free: 12.37 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004461/0.9616, allocations: 309.5 kB / 1.148 GB, free: 12.19 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.962, allocations: 202.5 kB / 1.148 GB, free: 12.08 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.9637, allocations: 0.9911 MB / 1.149 GB, free: 11.42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.055e-06/0.9637, allocations: 0 / 1.149 GB, free: 11.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.792e-06/0.9637, allocations: 0 / 1.149 GB, free: 11.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.072e-05/0.9637, allocations: 9.406 kB / 1.149 GB, free: 11.41 MB / 0.698 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.002009/0.9658, allocations: 1.039 MB / 1.15 GB, free: 10.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.9658, allocations: 9.5 kB / 1.15 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.9674, allocations: 210.2 kB / 1.15 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.9689, allocations: 0.6151 MB / 1.151 GB, free: 9.984 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.302e-05/0.969, allocations: 61.77 kB / 1.151 GB, free: 9.957 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.9692, allocations: 74.97 kB / 1.151 GB, free: 9.934 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.9712, allocations: 0.9154 MB / 1.152 GB, free: 9.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.9713, allocations: 10.08 kB / 1.152 GB, free: 9.262 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.9714, allocations: 32.28 kB / 1.152 GB, free: 9.238 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-05/0.9714, allocations: 31.16 kB / 1.152 GB, free: 9.234 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.973, allocations: 0.6119 MB / 1.152 GB, free: 8.934 MB / 0.698 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.006607/0.9796, allocations: 4.589 MB / 1.157 GB, free: 4.719 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.9807, allocations: 0.5324 MB / 1.157 GB, free: 4.344 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.566e-05/0.9808, allocations: 15.78 kB / 1.157 GB, free: 4.336 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.9809, allocations: 45.8 kB / 1.158 GB, free: 4.285 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 3.781e-06/0.9809, allocations: 1.188 kB / 1.158 GB, free: 4.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.00425/0.9851, allocations: 1.578 MB / 1.159 GB, free: 3.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.9852, allocations: 107.6 kB / 1.159 GB, free: 3.125 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.9865, allocations: 0.7018 MB / 1.16 GB, free: 2.723 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.224e-05/0.9866, allocations: 38.11 kB / 1.16 GB, free: 2.684 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.987, allocations: 413.1 kB / 1.16 GB, free: 2.324 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.9873, allocations: 162.5 kB / 1.16 GB, free: 2.184 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.9873, allocations: 11.28 kB / 1.16 GB, free: 2.176 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002501/0.9876, allocations: 392.8 kB / 1.161 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.988, allocations: 182.3 kB / 1.161 GB, free: 1.715 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006732/0.9887, allocations: 409.1 kB / 1.161 GB, free: 1.34 MB / 0.698 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.002238/0.991, allocations: 0.6583 MB / 1.162 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.991, allocations: 1.156 kB / 1.162 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001609/0.9926, allocations: 0.6617 MB / 1.163 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.9927, allocations: 12.98 kB / 1.163 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.9927, allocations: 6.5 kB / 1.163 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.9927, allocations: 10.12 kB / 1.163 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.9934, allocations: 122.7 kB / 1.163 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.9934, allocations: 17.5 kB / 1.163 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009109/0.9943, allocations: 51.69 kB / 1.163 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.9944, allocations: 26.44 kB / 1.163 GB, free: 0.5508 MB / 0.698 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.0005756/0.995, allocations: 282.7 kB / 1.163 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.9953, allocations: 82.86 kB / 1.163 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.9955, allocations: 88.97 kB / 1.163 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.681e-06/0.9955, allocations: 5 kB / 1.163 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.943e-06/0.9956, allocations: 2.25 kB / 1.163 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/0.9967, allocations: 0.7003 MB / 1.164 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/1, allocations: 1.645 MB / 1.166 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.602e-06/1.001, allocations: 3.031 kB / 1.166 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/1.001, allocations: 107.1 kB / 1.166 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/1.001, allocations: 6.406 kB / 1.166 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/1.001, allocations: 15.47 kB / 1.166 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/1.001, allocations: 6.5 kB / 1.166 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.764e-06/1.001, allocations: 8.469 kB / 1.166 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/1.003, allocations: 1.078 MB / 1.167 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005682/1.004, allocations: 201.3 kB / 1.167 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/1.004, allocations: 20.23 kB / 1.167 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006977/1.005, allocations: 39.19 kB / 1.167 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/1.005, allocations: 36.39 kB / 1.167 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/1.005, allocations: 23.53 kB / 1.167 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009583/1.006, allocations: 0.5036 MB / 1.168 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.32e-07/1.006, allocations: 0 / 1.168 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001088/1.007, allocations: 203.6 kB / 1.168 GB, free: 12.87 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.0005361/1.007, allocations: 201.7 kB / 1.168 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001102/1.009, allocations: 461.3 kB / 1.168 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.009, allocations: 0 / 1.168 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004192/1.009, allocations: 207.7 kB / 1.169 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.012, allocations: 466.2 kB / 1.169 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/1.015, allocations: 1.978 MB / 1.171 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008711/1.016, allocations: 1.048 MB / 1.172 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001017/1.017, allocations: 195.1 kB / 1.172 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/1.017, allocations: 65.55 kB / 1.172 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of SimCode: time 1.633e-06/1.017, allocations: 0 / 1.172 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of Templates: time 0.03355/1.051, allocations: 13.93 MB / 1.186 GB, free: 2.953 MB / 0.7136 GB