Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.498/2.498, allocations: 287.9 MB / 302.9 MB, free: 8.371 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.001412/0.001411, allocations: 173 kB / 371.4 MB, free: 10.65 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.033/2.033, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001026/0.001026, allocations: 96.53 kB / 0.7434 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004688, allocations: 11 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1577, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7374/0.8951, allocations: 158.2 MB / 1.133 GB, free: 100 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.9053, allocations: 5.582 MB / 1.139 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.9069, allocations: 31.88 kB / 1.139 GB, free: 15.67 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.9088, allocations: 0.5621 MB / 1.139 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006012/0.9149, allocations: 1.624 MB / 1.141 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.9195, allocations: 1.194 MB / 1.142 GB, free: 14.72 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003383/0.9229, allocations: 1.655 MB / 1.144 GB, free: 14.1 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.9243, allocations: 0.8139 MB / 1.144 GB, free: 13.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.926, allocations: 0.7731 MB / 1.145 GB, free: 13.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.9273, allocations: 0.5909 MB / 1.146 GB, free: 13.24 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.9275, allocations: 46.12 kB / 1.146 GB, free: 13.24 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.9299, allocations: 0.6312 MB / 1.146 GB, free: 13.1 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007084/0.9306, allocations: 453.3 kB / 1.147 GB, free: 12.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005566/0.9312, allocations: 277.8 kB / 1.147 GB, free: 12.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.9341, allocations: 1.535 MB / 1.149 GB, free: 11.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.026e-06/0.9341, allocations: 0 / 1.149 GB, free: 11.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.734e-06/0.9342, allocations: 1.969 kB / 1.149 GB, free: 11.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.56e-05/0.9342, allocations: 0 / 1.149 GB, free: 11.99 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003237/0.9374, allocations: 1.355 MB / 1.15 GB, free: 10.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.9375, allocations: 9.344 kB / 1.15 GB, free: 10.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.9404, allocations: 331.1 kB / 1.15 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.9427, allocations: 0.8325 MB / 1.151 GB, free: 10.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.191e-05/0.9428, allocations: 74.38 kB / 1.151 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.943, allocations: 102.7 kB / 1.151 GB, free: 10.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/0.946, allocations: 1.073 MB / 1.152 GB, free: 9.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.9461, allocations: 0 / 1.152 GB, free: 9.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.9463, allocations: 47.8 kB / 1.152 GB, free: 9.484 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.429e-05/0.9464, allocations: 44.19 kB / 1.152 GB, free: 9.477 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.9491, allocations: 0.9942 MB / 1.153 GB, free: 8.992 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.009197/0.9583, allocations: 4.246 MB / 1.158 GB, free: 5.602 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.9597, allocations: 0.5909 MB / 1.158 GB, free: 5.281 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.49e-05/0.9598, allocations: 17.02 kB / 1.158 GB, free: 5.273 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.9598, allocations: 44.12 kB / 1.158 GB, free: 5.227 MB / 0.698 GB Notification: Performance of pre-optimization done (n=53): time 3.55e-06/0.9598, allocations: 0 / 1.158 GB, free: 5.227 MB / 0.698 GB Notification: Performance of matching and sorting (n=55): time 0.005954/0.9658, allocations: 2.216 MB / 1.16 GB, free: 3.762 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.9659, allocations: 65.44 kB / 1.16 GB, free: 3.691 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.9675, allocations: 0.866 MB / 1.161 GB, free: 3.211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.9676, allocations: 38.61 kB / 1.161 GB, free: 3.172 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005433/0.9682, allocations: 0.5111 MB / 1.162 GB, free: 2.715 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.9685, allocations: 199.2 kB / 1.162 GB, free: 2.543 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.9685, allocations: 14.34 kB / 1.162 GB, free: 2.531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.9687, allocations: 337.2 kB / 1.162 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007469/0.9695, allocations: 293.1 kB / 1.163 GB, free: 2.059 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009041/0.9704, allocations: 444.1 kB / 1.163 GB, free: 1.734 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004006/0.9744, allocations: 1.105 MB / 1.164 GB, free: 1.148 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.779e-06/0.9745, allocations: 3.938 kB / 1.164 GB, free: 1.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002208/0.9767, allocations: 0.9221 MB / 1.165 GB, free: 0.668 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.9767, allocations: 4.906 kB / 1.165 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.9767, allocations: 5.438 kB / 1.165 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.9771, allocations: 101 kB / 1.165 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009029/0.978, allocations: 172.1 kB / 1.165 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004937/0.9829, allocations: 4.334 MB / 1.169 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.9843, allocations: 77.33 kB / 1.17 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.9844, allocations: 28.31 kB / 1.17 GB, free: 12.23 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007571/0.9852, allocations: 340.4 kB / 1.17 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.9854, allocations: 102.5 kB / 1.17 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.9857, allocations: 112.1 kB / 1.17 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.505e-06/0.9857, allocations: 5.375 kB / 1.17 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.9857, allocations: 0 / 1.17 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/0.9873, allocations: 0.7745 MB / 1.171 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004877/0.9922, allocations: 2.001 MB / 1.173 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.361e-06/0.9922, allocations: 2.062 kB / 1.173 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/0.9931, allocations: 157.2 kB / 1.173 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.9932, allocations: 38.27 kB / 1.173 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.9933, allocations: 15.66 kB / 1.173 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.9951, allocations: 1.51 MB / 1.174 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-06/0.9951, allocations: 4.719 kB / 1.174 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.9978, allocations: 1.395 MB / 1.176 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007325/0.9986, allocations: 262.2 kB / 1.176 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.9988, allocations: 15.62 kB / 1.176 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.9998, allocations: 64.98 kB / 1.176 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1, allocations: 52.44 kB / 1.176 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/1, allocations: 32.53 kB / 1.176 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001079/1.001, allocations: 0.6005 MB / 1.177 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.43e-07/1.001, allocations: 2.188 kB / 1.177 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001317/1.002, allocations: 304 kB / 1.177 GB, free: 6.758 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005369/1.003, allocations: 205.5 kB / 1.177 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002055/1.005, allocations: 1.001 MB / 1.178 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.015e-06/1.005, allocations: 3.531 kB / 1.178 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008989/1.006, allocations: 456.7 kB / 1.179 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/1.01, allocations: 0.6032 MB / 1.179 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/1.015, allocations: 2.485 MB / 1.182 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.016, allocations: 1.193 MB / 1.183 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001503/1.017, allocations: 248 kB / 1.183 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/1.018, allocations: 80.2 kB / 1.183 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of SimCode: time 1.708e-06/1.018, allocations: 0 / 1.183 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.07567/1.093, allocations: 20.58 MB / 1.203 GB, free: 1.805 MB / 0.7292 GB