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.202/2.202, allocations: 248.5 MB / 261.1 MB, free: 6.02 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.001462/0.001462, allocations: 181.6 kB / 320.4 MB, free: 15.34 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.078/2.078, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001227/0.001227, allocations: 91.47 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.858e-05/4.869e-05, allocations: 8 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2078, allocations: 106.3 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9123/1.12, allocations: 131.1 MB / 1.019 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/1.121, allocations: 69.52 kB / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005112/1.126, allocations: 0.8359 MB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.404e-06/1.126, allocations: 0 / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.126, allocations: 4 kB / 1.02 GB, free: 2.941 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.0008543/1.127, allocations: 358.6 kB / 1.02 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.385e-05/1.127, allocations: 12.02 kB / 1.02 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.097e-05/1.127, allocations: 34.5 kB / 1.02 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/1.127, allocations: 7.906 kB / 1.02 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/1.127, allocations: 171 kB / 1.02 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.127, allocations: 3.062 kB / 1.02 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/1.127, allocations: 3.984 kB / 1.02 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/1.127, allocations: 48.88 kB / 1.02 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.127, allocations: 0 / 1.02 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/1.127, allocations: 0 / 1.02 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.128, allocations: 0 / 1.02 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/1.128, allocations: 21.81 kB / 1.02 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009918/1.129, allocations: 313.9 kB / 1.021 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/1.129, allocations: 37 kB / 1.021 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/1.129, allocations: 12.73 kB / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/1.129, allocations: 10.62 kB / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/1.129, allocations: 30.56 kB / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.647e-06/1.129, allocations: 0 / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003/1.129, allocations: 54.73 kB / 1.021 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/1.129, allocations: 59.44 kB / 1.021 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/1.13, allocations: 101.3 kB / 1.021 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/1.13, allocations: 25.7 kB / 1.021 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/1.13, allocations: 83.33 kB / 1.021 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/1.13, allocations: 15.89 kB / 1.021 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-06/1.13, allocations: 0 / 1.021 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001827/1.13, allocations: 314.2 kB / 1.021 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/1.13, allocations: 10.11 kB / 1.021 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/1.13, allocations: 11.69 kB / 1.021 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.681e-05/1.13, allocations: 7.75 kB / 1.021 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.13, allocations: 0 / 1.021 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002327/1.131, allocations: 60.22 kB / 1.021 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/1.131, allocations: 4 kB / 1.021 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.131, allocations: 4.312 kB / 1.021 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.131, allocations: 0 / 1.021 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/1.131, allocations: 23.97 kB / 1.021 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.131, allocations: 0 / 1.021 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/1.131, allocations: 19.94 kB / 1.021 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/1.131, allocations: 3.984 kB / 1.021 GB, free: 0.9844 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 0.0001759/1.132, allocations: 109 kB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/1.132, allocations: 3.828 kB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/1.132, allocations: 63.89 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.132, allocations: 3.938 kB / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.132, allocations: 0 / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.132, allocations: 0 / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/1.133, allocations: 168.7 kB / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.133, allocations: 0 / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/1.133, allocations: 28.84 kB / 1.022 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.028e-06/1.133, allocations: 0 / 1.022 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/1.133, allocations: 7.359 kB / 1.022 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/1.133, allocations: 0 / 1.022 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.133, allocations: 0 / 1.022 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/1.134, allocations: 150.2 kB / 1.022 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/1.134, allocations: 85.11 kB / 1.022 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/1.134, allocations: 6.875 kB / 1.022 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/1.134, allocations: 19.05 kB / 1.022 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/1.135, allocations: 3.984 kB / 1.022 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.569e-06/1.135, allocations: 4 kB / 1.022 GB, free: 288 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.207e-05/1.135, allocations: 85.78 kB / 1.022 GB, free: 204 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.135, allocations: 0 / 1.022 GB, free: 204 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002826/1.135, allocations: 15.06 kB / 1.022 GB, free: 192 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 (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.0006511/1.136, allocations: 0.6858 MB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000147/1.136, allocations: 23.55 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.136, allocations: 0 / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.98e-05/1.136, allocations: 15.12 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/1.136, allocations: 15.56 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/1.137, allocations: 109.3 kB / 1.023 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/1.137, allocations: 0.6848 MB / 1.024 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.214e-05/1.137, allocations: 3.984 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/1.137, allocations: 10.06 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of SimCode: time 8.51e-07/1.137, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/1.162, allocations: 1.284 MB / 1.025 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/1.162, allocations: 166.2 kB / 1.025 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/3.404, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.6511 GB