Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.825/2.825, allocations: 248.5 MB / 261.1 MB, free: 6.012 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.001679/0.001679, allocations: 184.3 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 2.097/2.097, allocations: 205.2 MB / 0.571 GB, free: 11.72 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.001069/0.00107, allocations: 96.73 kB / 0.6754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.953e-05/3.964e-05, allocations: 8 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.204, allocations: 106.2 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8703/1.074, allocations: 131.6 MB / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/1.075, allocations: 72.52 kB / 1.019 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.017/1.092, allocations: 3.611 MB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.092, allocations: 0 / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.275e-05/1.092, allocations: 0 / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001198/1.093, allocations: 492.2 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/1.093, allocations: 8.031 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.942e-05/1.093, allocations: 45.94 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/1.093, allocations: 15.81 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/1.094, allocations: 213.5 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.094, allocations: 7.875 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/1.094, allocations: 4 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/1.094, allocations: 129.8 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.094, allocations: 4 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/1.094, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.094, allocations: 4 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/1.094, allocations: 83.05 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/1.096, allocations: 0.5178 MB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/1.096, allocations: 80.12 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/1.096, allocations: 62.09 kB / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.367e-05/1.096, allocations: 4 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/1.096, allocations: 34.44 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 3.547e-06/1.096, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.000479/1.097, allocations: 170.4 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/1.097, allocations: 51.41 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/1.097, allocations: 135.4 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/1.097, allocations: 25.7 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/1.097, allocations: 110.2 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/1.097, allocations: 38.8 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/1.097, allocations: 7.688 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.098, allocations: 318.3 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/1.098, allocations: 56.98 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/1.098, allocations: 58.81 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/1.098, allocations: 65.05 kB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.098, allocations: 0 / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003933/1.098, allocations: 164.2 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.099, allocations: 4 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/1.099, allocations: 4 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.099, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/1.099, allocations: 47.95 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/1.099, allocations: 4 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/1.099, allocations: 55.17 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/1.099, allocations: 4 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001044/1.1, allocations: 108.7 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/1.1, allocations: 7.906 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/1.1, allocations: 199.6 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/1.1, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.1, allocations: 4 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.1, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/1.101, allocations: 251.2 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.101, allocations: 4 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/1.101, allocations: 51.89 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/1.101, allocations: 7.984 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/1.101, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.101, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.101, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/1.102, allocations: 267.9 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/1.102, allocations: 88.97 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/1.102, allocations: 4 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/1.102, allocations: 47.45 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/1.102, allocations: 11.17 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/1.102, allocations: 4 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001067/1.102, allocations: 109.9 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.102, allocations: 4 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004165/1.103, allocations: 39.84 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009009/1.104, allocations: 0.8276 MB / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004434/1.104, allocations: 195.4 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.104, allocations: 0 / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/1.104, allocations: 141 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/1.105, allocations: 20.73 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009381/1.106, allocations: 274.3 kB / 1.028 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/1.106, allocations: 0.7327 MB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001513/1.106, allocations: 19.94 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/1.107, allocations: 37.11 kB / 1.029 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/1.107, allocations: 0 / 1.029 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/1.133, allocations: 3.095 MB / 1.032 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003999/1.134, allocations: 160.7 kB / 1.032 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.524, allocations: 0 / 1.032 GB, free: 7.066 MB / 0.6511 GB