Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.422/2.422, allocations: 248.7 MB / 256.2 MB, free: 7.035 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.001436/0.001436, allocations: 178.3 kB / 315.4 MB, free: 4.004 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.134/2.134, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 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.001514/0.001514, allocations: 93.7 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.904e-05, allocations: 12 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2035, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9011/1.105, allocations: 131.4 MB / 1.012 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.105, allocations: 70.95 kB / 1.013 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003439/1.108, allocations: 0.8416 MB / 1.013 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.903e-06/1.109, allocations: 0 / 1.013 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.109, allocations: 0 / 1.013 GB, free: 6.617 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000612/1.109, allocations: 361.8 kB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.109, allocations: 8.031 kB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/1.109, allocations: 7.906 kB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/1.109, allocations: 167 kB / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/1.109, allocations: 4 kB / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/1.109, allocations: 3.938 kB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001201/1.11, allocations: 18.56 kB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/1.11, allocations: 41.06 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.11, allocations: 4 kB / 1.014 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/1.11, allocations: 0 / 1.014 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.11, allocations: 0 / 1.014 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/1.111, allocations: 286.4 kB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/1.111, allocations: 29.83 kB / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/1.111, allocations: 19.55 kB / 1.014 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/1.111, allocations: 0 / 1.014 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/1.111, allocations: 33.19 kB / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/1.111, allocations: 0 / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002441/1.111, allocations: 56.55 kB / 1.014 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/1.111, allocations: 59.41 kB / 1.014 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.111, allocations: 96.88 kB / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/1.111, allocations: 25.7 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/1.111, allocations: 87.19 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/1.111, allocations: 3.906 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/1.111, allocations: 4 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.112, allocations: 318.6 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/1.112, allocations: 7.438 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/1.112, allocations: 15.12 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/1.112, allocations: 7.984 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.112, allocations: 0 / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001394/1.112, allocations: 52.48 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.112, allocations: 4 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.112, allocations: 0 / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.112, allocations: 3.984 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/1.112, allocations: 19.98 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.112, allocations: 4 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/1.112, allocations: 19.61 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/1.112, allocations: 7.938 kB / 1.015 GB, free: 4.754 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 (3): * Single equations (assignments): 3 * 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 9.093e-05/1.112, allocations: 104.9 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001348/1.113, allocations: 52 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/1.113, allocations: 11.84 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/1.113, allocations: 60.08 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.113, allocations: 0 / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.113, allocations: 0 / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.113, allocations: 3.953 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/1.113, allocations: 148.6 kB / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.113, allocations: 0 / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/1.113, allocations: 20.86 kB / 1.015 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.113, allocations: 0 / 1.015 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/1.113, allocations: 0 / 1.015 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.113, allocations: 7.984 kB / 1.015 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.113, allocations: 7.938 kB / 1.015 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/1.114, allocations: 141.4 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/1.114, allocations: 89 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/1.114, allocations: 1.812 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/1.114, allocations: 19.98 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/1.114, allocations: 3.984 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/1.114, allocations: 0 / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.224e-05/1.114, allocations: 87.22 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.8e-07/1.114, allocations: 0 / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003062/1.114, allocations: 7.938 kB / 1.016 GB, free: 3.938 MB / 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 (3): * Single equations (assignments): 3 * 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.0005604/1.115, allocations: 0.6902 MB / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001411/1.115, allocations: 22.28 kB / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.115, allocations: 0 / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/1.115, allocations: 17.48 kB / 1.016 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/1.115, allocations: 7.531 kB / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/1.116, allocations: 107 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/1.116, allocations: 0.6884 MB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.878e-05/1.116, allocations: 0 / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/1.116, allocations: 14.62 kB / 1.017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/1.116, allocations: 0 / 1.017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/1.151, allocations: 0.9628 MB / 1.018 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000396/1.151, allocations: 154.2 kB / 1.018 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.335, allocations: 1.969 kB / 1.018 GB, free: 1.195 MB / 0.6355 GB