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.223/2.223, allocations: 248.5 MB / 261.1 MB, free: 6.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002046/0.002046, allocations: 184 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001126/0.001126, allocations: 98.48 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.882e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2159, allocations: 106.3 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.135/7.351, allocations: 2.203 GB / 3.094 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/7.351, allocations: 84.64 kB / 3.094 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.154/10.51, allocations: 0.574 GB / 3.668 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.407e-06/10.51, allocations: 0 / 3.668 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001239/10.51, allocations: 25.34 kB / 3.668 GB, free: 179.3 MB / 0.8698 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.004362/10.51, allocations: 1.135 MB / 3.669 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/10.51, allocations: 13.73 kB / 3.669 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004175/10.51, allocations: 129 kB / 3.669 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/10.51, allocations: 210.5 kB / 3.669 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/10.52, allocations: 0.6629 MB / 3.67 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.621e-05/10.52, allocations: 55.38 kB / 3.67 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/10.52, allocations: 84.12 kB / 3.67 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/10.52, allocations: 0.8978 MB / 3.671 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.963e-05/10.52, allocations: 2.812 kB / 3.671 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/10.52, allocations: 34.62 kB / 3.671 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.225e-05/10.52, allocations: 25.22 kB / 3.671 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/10.52, allocations: 0.581 MB / 3.672 GB, free: 178.1 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.009391/10.53, allocations: 4.574 MB / 3.676 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/10.53, allocations: 432.9 kB / 3.677 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007289/10.53, allocations: 223.7 kB / 3.677 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/10.53, allocations: 103 kB / 3.677 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/10.53, allocations: 44.19 kB / 3.677 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 5.36e-06/10.53, allocations: 0 / 3.677 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.00578/10.54, allocations: 1.398 MB / 3.678 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/10.54, allocations: 105.9 kB / 3.678 GB, free: 174 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/10.54, allocations: 0.6171 MB / 3.679 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001759/10.54, allocations: 37.42 kB / 3.679 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/10.54, allocations: 426 kB / 3.68 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/10.54, allocations: 165.9 kB / 3.68 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/10.54, allocations: 10 kB / 3.68 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002014/10.54, allocations: 388 kB / 3.68 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007326/10.54, allocations: 173.4 kB / 3.68 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009167/10.55, allocations: 413.6 kB / 3.681 GB, free: 173 MB / 0.8698 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.004098/10.55, allocations: 0.6379 MB / 3.681 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/10.55, allocations: 0 / 3.681 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002502/10.55, allocations: 0.6484 MB / 3.682 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/10.55, allocations: 10.77 kB / 3.682 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/10.55, allocations: 3.812 kB / 3.682 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.071e-05/10.55, allocations: 11.69 kB / 3.682 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/10.55, allocations: 131.7 kB / 3.682 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.638e-05/10.55, allocations: 15.02 kB / 3.682 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/10.56, allocations: 55.09 kB / 3.682 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/10.56, allocations: 33.97 kB / 3.682 GB, free: 172.8 MB / 0.8698 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 () * 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.0003345/10.56, allocations: 149.1 kB / 3.682 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/10.56, allocations: 81.31 kB / 3.682 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/10.56, allocations: 86.78 kB / 3.682 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/10.56, allocations: 3.812 kB / 3.682 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/10.56, allocations: 3.188 kB / 3.682 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001457/10.56, allocations: 0.6861 MB / 3.683 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005698/10.56, allocations: 1.601 MB / 3.685 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/10.56, allocations: 3.719 kB / 3.685 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/10.57, allocations: 106.6 kB / 3.685 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/10.57, allocations: 3.781 kB / 3.685 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.429e-05/10.57, allocations: 18.78 kB / 3.685 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.89e-05/10.57, allocations: 10.69 kB / 3.685 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/10.57, allocations: 3.781 kB / 3.685 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/10.57, allocations: 1.038 MB / 3.686 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008578/10.57, allocations: 216 kB / 3.686 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/10.57, allocations: 15.17 kB / 3.686 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/10.57, allocations: 49.14 kB / 3.686 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/10.57, allocations: 37.3 kB / 3.686 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.882e-05/10.57, allocations: 23.48 kB / 3.686 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001466/10.57, allocations: 0.4968 MB / 3.687 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.743e-06/10.57, allocations: 3.172 kB / 3.687 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002834/10.58, allocations: 368.2 kB / 3.687 GB, free: 169.8 MB / 0.8698 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 () * 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.007903/10.58, allocations: 4.177 MB / 3.691 GB, free: 167 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002066/10.59, allocations: 446.8 kB / 3.691 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/10.59, allocations: 3.906 kB / 3.692 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007349/10.59, allocations: 201.7 kB / 3.692 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0062/10.59, allocations: 454.3 kB / 3.692 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006361/10.6, allocations: 1.515 MB / 3.694 GB, free: 166 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009516/10.6, allocations: 1.049 MB / 3.695 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001904/10.6, allocations: 198.9 kB / 3.695 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009548/10.6, allocations: 297.8 kB / 3.695 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.554e-06/10.6, allocations: 3.594 kB / 3.695 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1425/10.75, allocations: 51.32 MB / 3.745 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/10.75, allocations: 229.3 kB / 3.745 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.816/15.56, allocations: 0 / 3.745 GB, free: 137.9 MB / 0.8698 GB