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.25/2.25, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 178.7 kB / 325.5 MB, free: 2.883 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.476/2.476, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001153/0.001153, allocations: 100.3 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006925/0.0006929, allocations: 17.44 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2371, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.4667, allocations: 131.3 MB / 1.027 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.4671, allocations: 71.95 kB / 1.027 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004116/0.4712, allocations: 0.9264 MB / 1.028 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4713, allocations: 0 / 1.028 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.4713, allocations: 0 / 1.028 GB, free: 13.47 MB / 0.6823 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.0006935/0.472, allocations: 375.1 kB / 1.028 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.4721, allocations: 12.03 kB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.4721, allocations: 34.56 kB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.4722, allocations: 3.828 kB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.4723, allocations: 175 kB / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4723, allocations: 0 / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.4724, allocations: 4 kB / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.4728, allocations: 81.59 kB / 1.029 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4728, allocations: 4 kB / 1.029 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4729, allocations: 0 / 1.029 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4729, allocations: 0 / 1.029 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/0.4735, allocations: 91.91 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.4742, allocations: 304.8 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.4746, allocations: 74.47 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.4747, allocations: 0 / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.4747, allocations: 30.56 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.4747, allocations: 0 / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.001005/0.4757, allocations: 165.7 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.4758, allocations: 59.3 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.4759, allocations: 101 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.476, allocations: 25.7 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.476, allocations: 92.08 kB / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.4761, allocations: 7.812 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.4761, allocations: 7.938 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4762, allocations: 314.8 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.4765, allocations: 43.97 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.4768, allocations: 47.95 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.4771, allocations: 39.97 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4772, allocations: 0 / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006986/0.4779, allocations: 117.6 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4779, allocations: 5.562 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4779, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.478, allocations: 8 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.4782, allocations: 23.97 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.4782, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.4784, allocations: 19.94 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4784, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 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 () * Number of clocked 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.0001238/0.4786, allocations: 121.8 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.4786, allocations: 7.844 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007168/0.4794, allocations: 129.5 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4794, allocations: 0 / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4794, allocations: 0 / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4794, allocations: 0 / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.4797, allocations: 173.6 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.4797, allocations: 0 / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.4799, allocations: 23.98 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.4799, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.48, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.48, allocations: 4 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.48, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.4807, allocations: 223.4 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.4808, allocations: 81.44 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.4808, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.481, allocations: 19.98 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.4811, allocations: 7.984 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.537e-06/0.4811, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.452e-05/0.4812, allocations: 87.27 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4812, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003171/0.4816, allocations: 8 kB / 1.031 GB, free: 10.06 MB / 0.6823 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 () * Number of clocked 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.001096/0.4827, allocations: 0.7602 MB / 1.032 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006334/0.4834, allocations: 87.92 kB / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4834, allocations: 0 / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.4837, allocations: 55.95 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.484, allocations: 4 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.4846, allocations: 178 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.485, allocations: 0.6809 MB / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.025e-05/0.485, allocations: 7.984 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.4851, allocations: 15.44 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/0.4851, allocations: 0 / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.5098, allocations: 1.272 MB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000374/0.5102, allocations: 184 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/2.804, allocations: 2.531 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB