Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.256/2.256, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001737/0.001736, allocations: 171.5 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.524/2.524, allocations: 205.4 MB / 0.5764 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.001179, allocations: 93.55 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006849/0.0006851, allocations: 18.66 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2488, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.353/7.602, allocations: 2.203 GB / 3.102 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/7.603, allocations: 89.27 kB / 3.102 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.619/10.22, allocations: 0.5746 GB / 3.677 GB, free: 91.22 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.705e-06/10.22, allocations: 4 kB / 3.677 GB, free: 91.22 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.103e-05/10.22, allocations: 23.98 kB / 3.677 GB, free: 91.2 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00348/10.23, allocations: 1.243 MB / 3.678 GB, free: 89.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/10.23, allocations: 12.02 kB / 3.678 GB, free: 89.89 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002808/10.23, allocations: 130.6 kB / 3.678 GB, free: 89.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/10.23, allocations: 214.6 kB / 3.678 GB, free: 89.54 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/10.23, allocations: 0.6601 MB / 3.679 GB, free: 88.84 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.293e-05/10.23, allocations: 66 kB / 3.679 GB, free: 88.78 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/10.23, allocations: 83.84 kB / 3.679 GB, free: 88.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/10.23, allocations: 0.9144 MB / 3.68 GB, free: 87.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/10.23, allocations: 3.938 kB / 3.68 GB, free: 87.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/10.23, allocations: 28 kB / 3.68 GB, free: 87.67 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/10.23, allocations: 33.31 kB / 3.68 GB, free: 87.64 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/10.23, allocations: 0.5904 MB / 3.681 GB, free: 87.05 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.005922/10.24, allocations: 4.578 MB / 3.685 GB, free: 82.18 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008887/10.24, allocations: 432.7 kB / 3.686 GB, free: 81.73 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/10.24, allocations: 101.1 kB / 3.686 GB, free: 81.61 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/10.24, allocations: 46.53 kB / 3.686 GB, free: 81.55 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 5e-06/10.24, allocations: 0 / 3.686 GB, free: 81.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.004323/10.25, allocations: 1.546 MB / 3.687 GB, free: 79.95 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/10.25, allocations: 114.7 kB / 3.687 GB, free: 79.81 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/10.25, allocations: 0.6288 MB / 3.688 GB, free: 79.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-05/10.25, allocations: 37.7 kB / 3.688 GB, free: 79.13 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/10.25, allocations: 415.7 kB / 3.688 GB, free: 78.72 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/10.25, allocations: 161.7 kB / 3.689 GB, free: 78.56 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/10.25, allocations: 12 kB / 3.689 GB, free: 78.55 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001671/10.25, allocations: 386.8 kB / 3.689 GB, free: 78.16 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/10.25, allocations: 177.2 kB / 3.689 GB, free: 77.99 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/10.25, allocations: 415.5 kB / 3.689 GB, free: 77.48 MB / 0.8855 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.002535/10.25, allocations: 0.6415 MB / 3.69 GB, free: 76.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/10.25, allocations: 0 / 3.69 GB, free: 76.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0016/10.25, allocations: 0.6583 MB / 3.691 GB, free: 76.15 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/10.25, allocations: 12.88 kB / 3.691 GB, free: 76.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/10.25, allocations: 12 kB / 3.691 GB, free: 76.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/10.25, allocations: 8 kB / 3.691 GB, free: 76.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/10.25, allocations: 131.8 kB / 3.691 GB, free: 75.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/10.25, allocations: 11.94 kB / 3.691 GB, free: 75.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/10.26, allocations: 56.28 kB / 3.691 GB, free: 75.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/10.26, allocations: 24 kB / 3.691 GB, free: 75.9 MB / 0.8855 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.0006409/10.26, allocations: 282.7 kB / 3.691 GB, free: 75.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/10.26, allocations: 87.02 kB / 3.691 GB, free: 75.53 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/10.26, allocations: 87.66 kB / 3.691 GB, free: 75.45 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/10.26, allocations: 8 kB / 3.691 GB, free: 75.44 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/10.26, allocations: 0 / 3.691 GB, free: 75.44 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009236/10.26, allocations: 0.6804 MB / 3.692 GB, free: 74.67 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/10.26, allocations: 1.606 MB / 3.694 GB, free: 72.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/10.26, allocations: 4 kB / 3.694 GB, free: 72.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008744/10.26, allocations: 103.9 kB / 3.694 GB, free: 72.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/10.26, allocations: 4 kB / 3.694 GB, free: 72.85 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/10.26, allocations: 15.95 kB / 3.694 GB, free: 72.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/10.26, allocations: 11.94 kB / 3.694 GB, free: 72.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/10.26, allocations: 4 kB / 3.694 GB, free: 72.82 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/10.26, allocations: 1.049 MB / 3.695 GB, free: 71.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/10.26, allocations: 212.1 kB / 3.695 GB, free: 71.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/10.26, allocations: 16 kB / 3.695 GB, free: 71.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009/10.27, allocations: 35.97 kB / 3.695 GB, free: 71.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/10.27, allocations: 43.84 kB / 3.695 GB, free: 71.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/10.27, allocations: 16 kB / 3.695 GB, free: 71.28 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009236/10.27, allocations: 0.5068 MB / 3.696 GB, free: 70.78 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/10.27, allocations: 0 / 3.696 GB, free: 70.78 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001777/10.27, allocations: 367.9 kB / 3.696 GB, free: 70.42 MB / 0.8855 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.004799/10.27, allocations: 4.198 MB / 3.7 GB, free: 66.05 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001293/10.27, allocations: 468.9 kB / 3.701 GB, free: 65.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/10.27, allocations: 4 kB / 3.701 GB, free: 65.59 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/10.27, allocations: 200.3 kB / 3.701 GB, free: 65.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/10.28, allocations: 454.6 kB / 3.701 GB, free: 64.95 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/10.29, allocations: 8.982 MB / 3.71 GB, free: 55.69 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007163/10.29, allocations: 1.048 MB / 3.711 GB, free: 54.61 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001261/10.29, allocations: 194.9 kB / 3.711 GB, free: 54.42 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000573/10.29, allocations: 299.3 kB / 3.711 GB, free: 54.12 MB / 0.8855 GB Notification: Performance of SimCode: time 1.222e-06/10.29, allocations: 0 / 3.711 GB, free: 54.12 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/10.41, allocations: 47.08 MB / 3.757 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/10.41, allocations: 251.4 kB / 3.758 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.52/14.93, allocations: 3.938 kB / 3.758 GB, free: 7.07 MB / 0.8855 GB