Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.664/2.664, allocations: 284.9 MB / 292.4 MB, free: 10.61 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001395, allocations: 180.9 kB / 360.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001087, allocations: 97.17 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.931e-05, allocations: 8 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8483/0.8484, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/1.089, allocations: 136.7 MB / 1.097 GB, free: 3.789 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.089, allocations: 64.7 kB / 1.097 GB, free: 3.727 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00239/1.092, allocations: 0.6592 MB / 1.098 GB, free: 3.078 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/1.092, allocations: 1.094 kB / 1.098 GB, free: 3.078 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.092, allocations: 0 / 1.098 GB, free: 3.078 MB / 0.698 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.0004578/1.092, allocations: 334.4 kB / 1.098 GB, free: 2.715 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/1.092, allocations: 13.22 kB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/1.092, allocations: 1.203 kB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/1.092, allocations: 166.9 kB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/1.092, allocations: 4.844 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/1.092, allocations: 0 / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.746e-05/1.093, allocations: 12.44 kB / 1.098 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.605e-05/1.093, allocations: 38.47 kB / 1.098 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.093, allocations: 0 / 1.098 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/1.093, allocations: 4.25 kB / 1.098 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/1.093, allocations: 0 / 1.098 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/1.093, allocations: 251.5 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/1.093, allocations: 23.64 kB / 1.098 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/1.093, allocations: 13.61 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/1.093, allocations: 0 / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/1.093, allocations: 39.81 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/1.093, allocations: 3.656 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001679/1.094, allocations: 35.23 kB / 1.098 GB, free: 2.027 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/1.094, allocations: 55.41 kB / 1.099 GB, free: 1.961 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/1.094, allocations: 94.23 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/1.094, allocations: 25.7 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/1.094, allocations: 80.7 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/1.094, allocations: 15.45 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/1.094, allocations: 0 / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.094, allocations: 314.8 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/1.094, allocations: 4 kB / 1.099 GB, free: 1.418 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.212e-05/1.094, allocations: 8 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.714e-05/1.094, allocations: 7.938 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.094, allocations: 0 / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.639e-05/1.094, allocations: 43.03 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.094, allocations: 6.344 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.094, allocations: 0 / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.094, allocations: 5.219 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/1.095, allocations: 10.34 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/1.095, allocations: 3.938 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/1.095, allocations: 7.984 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/1.095, allocations: 2.844 kB / 1.099 GB, free: 1.328 MB / 0.698 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.252e-05/1.095, allocations: 112.7 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001075/1.095, allocations: 49.53 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/1.095, allocations: 0 / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/1.095, allocations: 49.44 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/1.095, allocations: 3.969 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.095, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/1.095, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/1.095, allocations: 138.2 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/1.095, allocations: 0 / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/1.095, allocations: 11.98 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/1.095, allocations: 3.375 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/1.095, allocations: 0 / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.095, allocations: 0 / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.095, allocations: 4.188 kB / 1.1 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/1.096, allocations: 145.5 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/1.096, allocations: 77.11 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/1.096, allocations: 4 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/1.096, allocations: 7.984 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/1.096, allocations: 5.688 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/1.096, allocations: 4 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.325e-05/1.096, allocations: 79.31 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.4e-07/1.096, allocations: 0 / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002913/1.096, allocations: 7.906 kB / 1.1 GB, free: 0.5586 MB / 0.698 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.0004881/1.097, allocations: 0.6721 MB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.72e-05/1.097, allocations: 19.97 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.097, allocations: 0 / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/1.097, allocations: 8 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/1.097, allocations: 3.984 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/1.098, allocations: 91.94 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/1.098, allocations: 0.6807 MB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.21e-05/1.098, allocations: 128 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/1.098, allocations: 11.44 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/1.098, allocations: 0 / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/1.133, allocations: 0.6935 MB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/1.133, allocations: 147.8 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.428, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)