Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.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.Atan2,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",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.375/2.375, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.002213/0.002213, allocations: 180.8 kB / 315.4 MB, free: 3.992 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.155/2.155, allocations: 205.3 MB / 0.5662 GB, free: 0.543 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.001098/0.001098, allocations: 97.83 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3.001e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2021, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9073/1.109, allocations: 131.5 MB / 1.013 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/1.11, allocations: 67.03 kB / 1.013 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004037/1.114, allocations: 0.9232 MB / 1.013 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/1.114, allocations: 0 / 1.013 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.996e-06/1.114, allocations: 0 / 1.013 GB, free: 6.367 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.0007055/1.115, allocations: 374 kB / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/1.115, allocations: 8.031 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/1.115, allocations: 7.906 kB / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/1.115, allocations: 167 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/1.115, allocations: 0 / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/1.115, allocations: 4 kB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001389/1.115, allocations: 14.69 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/1.115, allocations: 49.23 kB / 1.014 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.115, allocations: 3.938 kB / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/1.115, allocations: 4 kB / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.115, allocations: 0 / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007352/1.116, allocations: 283.4 kB / 1.014 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.575e-05/1.116, allocations: 28.7 kB / 1.014 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/1.116, allocations: 18.36 kB / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/1.116, allocations: 0 / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/1.116, allocations: 37.27 kB / 1.014 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/1.116, allocations: 0 / 1.014 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002236/1.117, allocations: 52.55 kB / 1.014 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/1.117, allocations: 55.34 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/1.117, allocations: 101 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/1.117, allocations: 25.7 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/1.117, allocations: 87.33 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/1.117, allocations: 7.844 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/1.117, allocations: 0 / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.117, allocations: 326.1 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/1.117, allocations: 11.5 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/1.117, allocations: 7.312 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/1.117, allocations: 6.812 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.117, allocations: 0 / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001513/1.117, allocations: 55.09 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.118, allocations: 5.719 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.118, allocations: 0 / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.118, allocations: 0 / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/1.118, allocations: 23.98 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.118, allocations: 4.25 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/1.118, allocations: 19.97 kB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/1.118, allocations: 3.188 kB / 1.015 GB, free: 4.492 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.914e-05/1.118, allocations: 108.9 kB / 1.015 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001418/1.118, allocations: 43.14 kB / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/1.118, allocations: 11.84 kB / 1.015 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/1.119, allocations: 62.77 kB / 1.015 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.119, allocations: 0 / 1.015 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.119, allocations: 3.938 kB / 1.015 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.119, allocations: 3.953 kB / 1.015 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/1.119, allocations: 144.7 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.119, allocations: 0 / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/1.119, allocations: 24.97 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.119, allocations: 4 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-06/1.119, allocations: 288 / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.119, allocations: 3.984 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.119, allocations: 3.938 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/1.119, allocations: 149.9 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/1.119, allocations: 84.33 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/1.119, allocations: 4 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/1.12, allocations: 16.86 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/1.12, allocations: 7.984 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/1.12, allocations: 0 / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.823e-05/1.12, allocations: 86.16 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.12, allocations: 0 / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003003/1.12, allocations: 4 kB / 1.016 GB, free: 3.676 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.0005382/1.121, allocations: 0.6935 MB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001269/1.121, allocations: 17.81 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.121, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/1.121, allocations: 17.25 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/1.121, allocations: 6.75 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/1.122, allocations: 117.1 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/1.122, allocations: 0.6845 MB / 1.017 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.14e-05/1.122, allocations: 3.984 kB / 1.017 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/1.122, allocations: 11.38 kB / 1.017 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of SimCode: time 6.62e-07/1.122, allocations: 4 kB / 1.017 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/1.158, allocations: 0.9555 MB / 1.018 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/1.158, allocations: 149 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/3.333, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.6355 GB