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.184/2.184, allocations: 248.5 MB / 261.1 MB, free: 6.016 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.001489/0.001489, allocations: 187.3 kB / 320.4 MB, free: 15.32 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.004/2.004, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001246/0.001246, allocations: 102.4 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.737e-05/4.758e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2093, allocations: 106.2 MB / 0.8907 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8777/1.087, allocations: 131.2 MB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.087, allocations: 66.78 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00539/1.093, allocations: 0.923 MB / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/1.093, allocations: 0 / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.368e-06/1.093, allocations: 0 / 1.02 GB, free: 3.129 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.0008329/1.094, allocations: 375.4 kB / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/1.094, allocations: 8.031 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.639e-05/1.094, allocations: 38.5 kB / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/1.094, allocations: 3.906 kB / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/1.094, allocations: 167.7 kB / 1.02 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/1.094, allocations: 0 / 1.02 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/1.094, allocations: 7.938 kB / 1.02 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/1.095, allocations: 49.38 kB / 1.02 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.095, allocations: 4 kB / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/1.095, allocations: 0 / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/1.095, allocations: 0 / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/1.095, allocations: 18.88 kB / 1.02 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.096, allocations: 304.6 kB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/1.096, allocations: 36.7 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/1.096, allocations: 16.36 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/1.096, allocations: 2.625 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/1.096, allocations: 34.5 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.315e-06/1.096, allocations: 0 / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002217/1.096, allocations: 62.8 kB / 1.021 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/1.096, allocations: 62.09 kB / 1.021 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/1.096, allocations: 100.5 kB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/1.097, allocations: 25.7 kB / 1.021 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/1.097, allocations: 88.06 kB / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/1.097, allocations: 15.78 kB / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/1.097, allocations: 0 / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.097, allocations: 314.7 kB / 1.021 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/1.097, allocations: 15.75 kB / 1.021 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.979e-05/1.097, allocations: 7.5 kB / 1.021 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/1.097, allocations: 7.984 kB / 1.021 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.097, allocations: 0 / 1.021 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001444/1.097, allocations: 52.73 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.097, allocations: 6.656 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.097, allocations: 0 / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.097, allocations: 0 / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/1.097, allocations: 31.34 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.097, allocations: 0 / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/1.098, allocations: 19.94 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/1.098, allocations: 4 kB / 1.022 GB, free: 1.164 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 8.532e-05/1.098, allocations: 104.9 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/1.098, allocations: 3.938 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/1.098, allocations: 67.95 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.098, allocations: 0 / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.098, allocations: 0 / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.098, allocations: 0 / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/1.098, allocations: 169.3 kB / 1.022 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.098, allocations: 0 / 1.022 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/1.098, allocations: 23.97 kB / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.099, allocations: 0 / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.099, allocations: 3.938 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.099, allocations: 8 kB / 1.022 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.099, allocations: 0 / 1.022 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/1.099, allocations: 158 kB / 1.022 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/1.099, allocations: 77.11 kB / 1.022 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/1.099, allocations: 0 / 1.022 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/1.099, allocations: 19.98 kB / 1.022 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/1.099, allocations: 7.984 kB / 1.022 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/1.099, allocations: 2.75 kB / 1.022 GB, free: 472 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.04e-05/1.099, allocations: 90.27 kB / 1.022 GB, free: 384 kB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.099, allocations: 0 / 1.022 GB, free: 384 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002712/1.1, allocations: 4 kB / 1.022 GB, free: 380 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.0006058/1.1, allocations: 0.6965 MB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001474/1.1, allocations: 23.09 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.1, allocations: 4 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.508e-05/1.1, allocations: 11 kB / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/1.101, allocations: 3.25 kB / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/1.101, allocations: 117.7 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/1.102, allocations: 0.6926 MB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.839e-05/1.102, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/1.102, allocations: 14.56 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/1.102, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/1.121, allocations: 1.279 MB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003247/1.122, allocations: 165.7 kB / 1.025 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/3.627, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.6511 GB