Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001081/0.001081, allocations: 186.7 kB / 326.5 MB, free: 2.238 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.101/2.101, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008692/0.0008694, allocations: 92.33 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003617, allocations: 14.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.263, allocations: 106.4 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.4452, allocations: 131.4 MB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.4456, allocations: 79.94 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001964/0.4476, allocations: 0.6687 MB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.147e-06/0.4476, allocations: 4 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.4476, allocations: 0 / 1.029 GB, free: 11.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003738/0.448, allocations: 347.2 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4481, allocations: 8.031 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.4481, allocations: 30.56 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.4482, allocations: 7.984 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.4483, allocations: 175 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4483, allocations: 4 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.4483, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.4485, allocations: 57.61 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.4485, allocations: 4 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4486, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4486, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.4488, allocations: 43.97 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.4492, allocations: 268.8 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.4494, allocations: 46.5 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.4494, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.4495, allocations: 30.62 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.4495, allocations: 4 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003638/0.4498, allocations: 97.64 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.4499, allocations: 51.41 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.45, allocations: 97.11 kB / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.45, allocations: 29.7 kB / 1.03 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.45, allocations: 80.14 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.4501, allocations: 7.906 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.4501, allocations: 7.875 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4502, allocations: 318.8 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.4503, allocations: 23.97 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.4504, allocations: 23.98 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.696e-05/0.4504, allocations: 19.98 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4505, allocations: 0 / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.4507, allocations: 77.72 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4507, allocations: 4 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4507, allocations: 0 / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4507, allocations: 0 / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.4508, allocations: 11.98 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4508, allocations: 4 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.4509, allocations: 15.97 kB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.4509, allocations: 0 / 1.031 GB, free: 9.379 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 (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.487e-05/0.451, allocations: 117.7 kB / 1.031 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.451, allocations: 3.984 kB / 1.031 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.4513, allocations: 88.69 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4513, allocations: 0 / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4513, allocations: 0 / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4513, allocations: 0 / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.4515, allocations: 157.6 kB / 1.031 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4515, allocations: 0 / 1.031 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.505e-05/0.4515, allocations: 15.98 kB / 1.031 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4515, allocations: 0 / 1.031 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.4516, allocations: 4.031 kB / 1.031 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.4516, allocations: 0 / 1.031 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4516, allocations: 0 / 1.031 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.4518, allocations: 179.6 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.4519, allocations: 81.11 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.4519, allocations: 7.969 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.452, allocations: 4 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.4521, allocations: 4 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.4521, allocations: 7.984 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.4522, allocations: 79.28 kB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4522, allocations: 0 / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002056/0.4524, allocations: 8.031 kB / 1.032 GB, free: 8.535 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 (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.0005707/0.4529, allocations: 0.7092 MB / 1.032 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.4532, allocations: 47.95 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4532, allocations: 0 / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.629e-05/0.4533, allocations: 24.05 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.4535, allocations: 13.77 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.454, allocations: 138.3 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.4542, allocations: 0.677 MB / 1.033 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.4543, allocations: 8.062 kB / 1.033 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.4543, allocations: 15.38 kB / 1.033 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.4543, allocations: 0 / 1.033 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.4672, allocations: 0.9876 MB / 1.034 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.4675, allocations: 192.5 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/1.98, allocations: 2.531 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)