Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.137/2.137, allocations: 248.5 MB / 261.1 MB, free: 6.066 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.001424/0.001424, allocations: 180.1 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.048/2.048, allocations: 205.2 MB / 0.571 GB, free: 11.79 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.001059/0.001059, allocations: 100.7 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.881e-05/5.901e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2293, allocations: 106.2 MB / 0.8907 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8547/1.084, allocations: 131.2 MB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.084, allocations: 67.66 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002498/1.087, allocations: 0.6794 MB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.414e-06/1.087, allocations: 4 kB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.626e-06/1.087, allocations: 0 / 1.02 GB, free: 3.344 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004586/1.087, allocations: 338.5 kB / 1.02 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/1.088, allocations: 12.03 kB / 1.02 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/1.088, allocations: 30.56 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/1.088, allocations: 0 / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/1.088, allocations: 171 kB / 1.02 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/1.088, allocations: 4 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/1.088, allocations: 3.984 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/1.088, allocations: 33.14 kB / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.088, allocations: 4.5 kB / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/1.088, allocations: 0 / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/1.088, allocations: 0 / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/1.088, allocations: 7.375 kB / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/1.089, allocations: 275.6 kB / 1.02 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.086e-05/1.089, allocations: 33.62 kB / 1.02 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/1.089, allocations: 8.922 kB / 1.02 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/1.089, allocations: 2.516 kB / 1.02 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.089, allocations: 37.81 kB / 1.02 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/1.089, allocations: 4 kB / 1.02 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001801/1.089, allocations: 49.47 kB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/1.089, allocations: 59.3 kB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.804e-05/1.089, allocations: 89 kB / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/1.089, allocations: 25.7 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/1.089, allocations: 87.25 kB / 1.021 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/1.089, allocations: 7.906 kB / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/1.089, allocations: 0 / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.09, allocations: 322.3 kB / 1.021 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/1.09, allocations: 4 kB / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/1.09, allocations: 3.5 kB / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/1.09, allocations: 4 kB / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.09, allocations: 0 / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001026/1.09, allocations: 41.14 kB / 1.021 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.09, allocations: 4 kB / 1.021 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.09, allocations: 0 / 1.021 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.09, allocations: 0 / 1.021 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/1.09, allocations: 20.08 kB / 1.021 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.09, allocations: 3.938 kB / 1.021 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/1.09, allocations: 14.67 kB / 1.021 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/1.09, allocations: 3.938 kB / 1.021 GB, free: 1.508 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 (2): * Single equations (assignments): 2 * 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 7.927e-05/1.09, allocations: 112.4 kB / 1.021 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/1.09, allocations: 0 / 1.021 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/1.09, allocations: 52.14 kB / 1.021 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.09, allocations: 0 / 1.021 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.09, allocations: 4 kB / 1.021 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.09, allocations: 0 / 1.021 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/1.091, allocations: 161.1 kB / 1.021 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.091, allocations: 0 / 1.021 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/1.091, allocations: 11.69 kB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.091, allocations: 0 / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/1.091, allocations: 0 / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/1.091, allocations: 8.016 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.091, allocations: 7.922 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/1.091, allocations: 138.6 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/1.091, allocations: 77.11 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/1.091, allocations: 4 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/1.091, allocations: 11.42 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/1.091, allocations: 8.031 kB / 1.022 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/1.091, allocations: 0 / 1.022 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.048e-05/1.091, allocations: 83.27 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.11e-07/1.091, allocations: 0 / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002639/1.092, allocations: 4 kB / 1.022 GB, free: 0.7617 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 (2): * Single equations (assignments): 2 * 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.000495/1.092, allocations: 0.6783 MB / 1.022 GB, free: 68 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001097/1.092, allocations: 11.69 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.092, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.851e-05/1.092, allocations: 4 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/1.093, allocations: 7.25 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/1.093, allocations: 98.77 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/1.093, allocations: 0.6811 MB / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.416e-05/1.093, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.543e-05/1.094, allocations: 7.438 kB / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/1.094, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/1.114, allocations: 1.012 MB / 1.024 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000373/1.115, allocations: 158.2 kB / 1.024 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/3.497, allocations: 0 / 1.024 GB, free: 14.08 MB / 0.6511 GB