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.402/2.402, allocations: 248.7 MB / 256.2 MB, free: 7.105 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.001396/0.001396, allocations: 181.1 kB / 315.4 MB, free: 4 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.173/2.173, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 98.42 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.616e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2035, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8692/1.073, allocations: 131.8 MB / 1.013 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.073, allocations: 72.2 kB / 1.013 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01678/1.09, allocations: 3.594 MB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/1.09, allocations: 4 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.529e-05/1.09, allocations: 4 kB / 1.016 GB, free: 4.047 MB / 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.001157/1.091, allocations: 480.8 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.091, allocations: 8.031 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/1.091, allocations: 15.75 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/1.092, allocations: 214.4 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/1.092, allocations: 4 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/1.092, allocations: 4 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000277/1.092, allocations: 86.05 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/1.092, allocations: 113.5 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/1.092, allocations: 0 / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/1.092, allocations: 4 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/1.092, allocations: 0 / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/1.094, allocations: 490.2 kB / 1.018 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/1.094, allocations: 80.36 kB / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/1.094, allocations: 67.28 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/1.094, allocations: 8 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.094, allocations: 34.56 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 3.026e-06/1.094, allocations: 0 / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005422/1.095, allocations: 160.1 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/1.095, allocations: 55.34 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/1.095, allocations: 124.7 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/1.095, allocations: 25.7 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/1.095, allocations: 112.1 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/1.095, allocations: 43.23 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/1.095, allocations: 0 / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.095, allocations: 330.5 kB / 1.019 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/1.096, allocations: 47.23 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/1.096, allocations: 56.95 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/1.096, allocations: 67.52 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.096, allocations: 0 / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004652/1.096, allocations: 159.6 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.097, allocations: 6.188 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/1.097, allocations: 4 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.097, allocations: 0 / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/1.097, allocations: 51.95 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.097, allocations: 4.812 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/1.097, allocations: 47.89 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/1.097, allocations: 4 kB / 1.019 GB, free: 1.32 MB / 0.6355 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 9.974e-05/1.098, allocations: 105 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004396/1.098, allocations: 161.5 kB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/1.098, allocations: 11.81 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/1.099, allocations: 196.5 kB / 1.02 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.099, allocations: 3.984 kB / 1.02 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/1.099, allocations: 6.75 kB / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.099, allocations: 4 kB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/1.099, allocations: 221 kB / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.099, allocations: 0 / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/1.1, allocations: 55.83 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/1.1, allocations: 0 / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/1.1, allocations: 4 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.1, allocations: 0 / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.1, allocations: 0 / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/1.1, allocations: 259.7 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/1.1, allocations: 100.8 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/1.1, allocations: 3.984 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/1.101, allocations: 39.95 kB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/1.101, allocations: 19.48 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/1.101, allocations: 4 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001069/1.101, allocations: 107.6 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.101, allocations: 0 / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004444/1.101, allocations: 40 kB / 1.02 GB, free: 68 kB / 0.6355 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.001086/1.103, allocations: 0.816 MB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008648/1.103, allocations: 205.5 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.104, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005145/1.104, allocations: 138.2 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/1.105, allocations: 14.73 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/1.105, allocations: 259.5 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/1.106, allocations: 0.7267 MB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001384/1.106, allocations: 19.94 kB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/1.106, allocations: 35.42 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.106, allocations: 0 / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/1.143, allocations: 2.694 MB / 1.025 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/1.143, allocations: 146.5 kB / 1.025 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.559, allocations: 0 / 1.025 GB, free: 11.04 MB / 0.6511 GB