Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008199/0.0008199, allocations: 80.45 kB / 19.15 MB, free: 0.7734 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008868/0.0008868, allocations: 162 kB / 22.43 MB, free: 2.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.837/0.837, allocations: 177.2 MB / 202.8 MB, free: 5.785 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6991/0.6991, allocations: 154.7 MB / 413.9 MB, free: 0.7656 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009064/0.0009064, allocations: 72.48 kB / 0.6184 GB, free: 13.55 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4174, allocations: 102 MB / 0.718 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan): time 0.00147/0.4189, allocations: 0.6502 MB / 0.7186 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.4196, allocations: 0.8443 MB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.4196, allocations: 0 / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.4196, allocations: 5.781 kB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.4197, allocations: 0 / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.4199, allocations: 18.12 kB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.319e-05/0.4199, allocations: 24.53 kB / 0.7195 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.42, allocations: 7.75 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.4201, allocations: 23.34 kB / 0.7195 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.635e-05/0.4201, allocations: 5.906 kB / 0.7195 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.4202, allocations: 2.094 kB / 0.7195 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.4202, allocations: 8.859 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.4202, allocations: 9.062 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.4202, allocations: 11.09 kB / 0.7195 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.4203, allocations: 28.22 kB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4203, allocations: 0 / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.267e-06/0.4204, allocations: 0.6562 kB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.4204, allocations: 0 / 0.7195 GB, free: 22.21 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002949/0.4207, allocations: 264.9 kB / 0.7198 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4207, allocations: 10.75 kB / 0.7198 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.127e-05/0.4207, allocations: 31.88 kB / 0.7198 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.4208, allocations: 11.31 kB / 0.7199 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.604e-05/0.4208, allocations: 107.5 kB / 0.72 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.4208, allocations: 384 / 0.72 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.4209, allocations: 2.25 kB / 0.72 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.421, allocations: 52.27 kB / 0.72 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.421, allocations: 5.062 kB / 0.72 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.421, allocations: 3.984 kB / 0.72 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.421, allocations: 4 kB / 0.72 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.4211, allocations: 32.98 kB / 0.7201 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.4213, allocations: 219.4 kB / 0.7203 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.552e-05/0.4214, allocations: 43.59 kB / 0.7203 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.4214, allocations: 20.33 kB / 0.7203 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.4214, allocations: 0 / 0.7203 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.4215, allocations: 41.23 kB / 0.7204 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 6.32e-07/0.4215, allocations: 4 kB / 0.7204 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002134/0.4217, allocations: 75.77 kB / 0.7204 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.4217, allocations: 53.17 kB / 0.7205 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.357e-05/0.4217, allocations: 101.6 kB / 0.7206 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-06/0.4217, allocations: 25.7 kB / 0.7206 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.961e-05/0.4218, allocations: 89.84 kB / 0.7207 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.4218, allocations: 5.734 kB / 0.7207 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.4218, allocations: 16.77 kB / 0.7207 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.746e-05/0.4218, allocations: 313.1 kB / 0.721 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.4219, allocations: 18.2 kB / 0.721 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.651e-05/0.4219, allocations: 14.62 kB / 0.721 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.422, allocations: 37.31 kB / 0.7211 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.422, allocations: 3.938 kB / 0.7211 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.717e-05/0.4221, allocations: 75.55 kB / 0.7212 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.4221, allocations: 4.781 kB / 0.7212 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4221, allocations: 1.734 kB / 0.7212 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.4221, allocations: 0 / 0.7212 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.4222, allocations: 13.38 kB / 0.7212 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.4222, allocations: 0 / 0.7212 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.4222, allocations: 7.203 kB / 0.7212 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.4222, allocations: 3.938 kB / 0.7212 GB, free: 20.65 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.4222, allocations: 117.6 kB / 0.7213 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.4222, allocations: 1.219 kB / 0.7213 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.4224, allocations: 75.94 kB / 0.7214 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4224, allocations: 1.031 kB / 0.7214 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4224, allocations: 4 kB / 0.7214 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4224, allocations: 1.703 kB / 0.7214 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.891e-05/0.4225, allocations: 128.7 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4225, allocations: 0 / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.4225, allocations: 13.05 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.4225, allocations: 0 / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.4225, allocations: 1.797 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.4225, allocations: 3.938 kB / 0.7215 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4225, allocations: 0 / 0.7215 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.4226, allocations: 164.5 kB / 0.7217 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.4226, allocations: 9.891 kB / 0.7217 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-06/0.4226, allocations: 2.219 kB / 0.7217 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.567e-05/0.4227, allocations: 9.219 kB / 0.7217 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.4227, allocations: 2.453 kB / 0.7217 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.4227, allocations: 1.125 kB / 0.7217 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.655e-05/0.4227, allocations: 83.62 kB / 0.7218 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4227, allocations: 0 / 0.7218 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001349/0.4229, allocations: 4.469 kB / 0.7218 GB, free: 20.08 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/0.4231, allocations: 0.6921 MB / 0.7225 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.4232, allocations: 39.47 kB / 0.7225 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4232, allocations: 0 / 0.7225 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.4232, allocations: 16.56 kB / 0.7225 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.4235, allocations: 6.859 kB / 0.7225 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.4238, allocations: 143.9 kB / 0.7227 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.447e-05/0.4238, allocations: 63 kB / 0.7227 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.4238, allocations: 1.828 kB / 0.7227 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.4238, allocations: 11.14 kB / 0.7227 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of SimCode: time 3.81e-07/0.4238, allocations: 0 / 0.7227 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.4374, allocations: 1.917 MB / 0.7246 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.607/7.044, allocations: 9.578 kB / 0.7246 GB, free: 18.27 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.698665267904289] Failed to read output from testmodel.py, exit status != 0: 7.119791501085274 7.129550534 6.707434367 Calling exit ...