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.328/2.328, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.001479/0.001479, allocations: 190 kB / 315.4 MB, free: 3.98 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.076/2.076, allocations: 205.2 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.001079/0.001079, allocations: 102.1 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.46e-05/4.48e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2095, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9078/1.117, allocations: 131.5 MB / 1.013 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/1.118, allocations: 69.77 kB / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002425/1.12, allocations: 0.6695 MB / 1.013 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/1.12, allocations: 0 / 1.013 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.12, allocations: 0 / 1.013 GB, free: 6.594 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.0004667/1.121, allocations: 345.9 kB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/1.121, allocations: 8.031 kB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/1.121, allocations: 0 / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/1.121, allocations: 171 kB / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.121, allocations: 0 / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/1.121, allocations: 0 / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.593e-05/1.121, allocations: 15.88 kB / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.59e-05/1.121, allocations: 33.64 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.121, allocations: 0 / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.121, allocations: 4 kB / 1.014 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.121, allocations: 0 / 1.014 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/1.122, allocations: 249 kB / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.634e-05/1.122, allocations: 18.58 kB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/1.122, allocations: 20.48 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.283e-05/1.122, allocations: 3.984 kB / 1.014 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.122, allocations: 37.08 kB / 1.014 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/1.122, allocations: 0 / 1.014 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001913/1.122, allocations: 45.53 kB / 1.014 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/1.122, allocations: 51.41 kB / 1.014 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/1.122, allocations: 92.69 kB / 1.014 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/1.122, allocations: 29.73 kB / 1.014 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/1.123, allocations: 80.14 kB / 1.014 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/1.123, allocations: 3.906 kB / 1.014 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-06/1.123, allocations: 4 kB / 1.014 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.123, allocations: 322.7 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/1.123, allocations: 0 / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.963e-05/1.123, allocations: 7.875 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/1.123, allocations: 4.75 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.123, allocations: 4 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.95e-05/1.123, allocations: 41.64 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.123, allocations: 8 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/1.123, allocations: 0 / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.123, allocations: 0 / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/1.123, allocations: 11.98 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.123, allocations: 0 / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-05/1.123, allocations: 15.92 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/1.123, allocations: 4.031 kB / 1.015 GB, free: 4.84 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 8.38e-05/1.123, allocations: 104.9 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00011/1.124, allocations: 45.52 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/1.124, allocations: 4 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/1.124, allocations: 53.92 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.124, allocations: 0 / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.124, allocations: 0 / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.124, allocations: 0 / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/1.124, allocations: 146 kB / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/1.124, allocations: 0.5625 kB / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.124, allocations: 8 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/1.124, allocations: 7.984 kB / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/1.124, allocations: 0 / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.124, allocations: 2.188 kB / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.124, allocations: 0 / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/1.124, allocations: 139.3 kB / 1.015 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/1.124, allocations: 81.11 kB / 1.015 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/1.124, allocations: 3.984 kB / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/1.125, allocations: 4 kB / 1.015 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/1.125, allocations: 11.8 kB / 1.015 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/1.125, allocations: 0 / 1.015 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.159e-05/1.125, allocations: 79.28 kB / 1.015 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.125, allocations: 0 / 1.015 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002787/1.125, allocations: 8.031 kB / 1.015 GB, free: 4.082 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.0004844/1.126, allocations: 0.672 MB / 1.016 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.71e-05/1.126, allocations: 15.88 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.126, allocations: 0 / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.14e-05/1.126, allocations: 8.094 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/1.126, allocations: 0 / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/1.126, allocations: 97.33 kB / 1.016 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/1.127, allocations: 0.6806 MB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.219e-05/1.127, allocations: 0 / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/1.127, allocations: 11.44 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/1.127, allocations: 0 / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/1.158, allocations: 0.7021 MB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/1.159, allocations: 146.4 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.445, allocations: 0.625 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB