Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.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.0008313/0.0008313, 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.001018/0.001018, allocations: 162 kB / 22.43 MB, free: 2.141 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.9276/0.9276, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7303/0.7303, allocations: 154.9 MB / 414.2 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Atan2,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2",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.001382/0.001382, allocations: 71.89 kB / 0.6187 GB, free: 13.24 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4905/0.4919, allocations: 102 MB / 0.7183 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001392/0.4933, allocations: 0.6852 MB / 0.7189 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000775/0.4941, allocations: 0.8611 MB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.4941, allocations: 1.094 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.4941, allocations: 4.453 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.4942, allocations: 5.641 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.4944, allocations: 29.67 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.534e-05/0.4945, allocations: 43.16 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.786e-05/0.4946, allocations: 13.3 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.4947, allocations: 28.88 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.4947, allocations: 19.31 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.4947, allocations: 3.5 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.4948, allocations: 7.562 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.4948, allocations: 14.62 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.4948, allocations: 13.88 kB / 0.72 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.495, allocations: 53.91 kB / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.495, allocations: 0 / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.707e-06/0.495, allocations: 1.25 kB / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.495, allocations: 0 / 0.72 GB, free: 21.98 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.000445/0.4954, allocations: 296.1 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4955, allocations: 11.23 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.496e-05/0.4955, allocations: 32.8 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.4956, allocations: 8.766 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.262e-05/0.4957, allocations: 107 kB / 0.7204 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.4957, allocations: 5.938 kB / 0.7204 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.4957, allocations: 2.594 kB / 0.7205 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.4959, allocations: 73.38 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4959, allocations: 3.938 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.4959, allocations: 0.7031 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4959, allocations: 1.5 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.496, allocations: 66.61 kB / 0.7206 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.4963, allocations: 238.5 kB / 0.7208 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.4964, allocations: 59.33 kB / 0.7209 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.043e-05/0.4965, allocations: 36.58 kB / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.4965, allocations: 0.8125 kB / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.4966, allocations: 37.45 kB / 0.7209 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.4966, allocations: 3.938 kB / 0.7209 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003307/0.4969, allocations: 128.8 kB / 0.7211 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.4969, allocations: 52.56 kB / 0.7211 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.497, allocations: 110.6 kB / 0.7212 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.497, allocations: 31.56 kB / 0.7213 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.497, allocations: 86.33 kB / 0.7213 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.497, allocations: 14.58 kB / 0.7214 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.497, allocations: 13.17 kB / 0.7214 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.399e-05/0.4971, allocations: 318.8 kB / 0.7217 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.4972, allocations: 39.16 kB / 0.7217 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-05/0.4972, allocations: 30.44 kB / 0.7217 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4974, allocations: 72.02 kB / 0.7218 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4974, allocations: 0 / 0.7218 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001704/0.4975, allocations: 101.9 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4976, allocations: 6.031 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4976, allocations: 0.5625 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4976, allocations: 0 / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.4977, allocations: 15.59 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4977, allocations: 1.125 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.4977, allocations: 16.2 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.4977, allocations: 1.281 kB / 0.7219 GB, free: 20.36 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 (3): * Single equations (assignments): 3 * 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 4.637e-05/0.4978, allocations: 121.8 kB / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.4978, allocations: 5.797 kB / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.498, allocations: 105 kB / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.498, allocations: 1.25 kB / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.498, allocations: 0.6094 kB / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.498, allocations: 4 kB / 0.7222 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.302e-05/0.4981, allocations: 138.2 kB / 0.7223 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4981, allocations: 0 / 0.7223 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-05/0.4981, allocations: 15.83 kB / 0.7223 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4982, allocations: 1.125 kB / 0.7223 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.4982, allocations: 4.734 kB / 0.7223 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4982, allocations: 1.062 kB / 0.7223 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4982, allocations: 0 / 0.7223 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.4983, allocations: 206.9 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.465e-06/0.4984, allocations: 2.984 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.4984, allocations: 1.984 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.4984, allocations: 10.36 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.4985, allocations: 5.234 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.4985, allocations: 5 kB / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.154e-05/0.4985, allocations: 83.25 kB / 0.7226 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4985, allocations: 0 / 0.7226 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001448/0.4986, allocations: 15.28 kB / 0.7226 GB, free: 19.76 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 (3): * Single equations (assignments): 3 * 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.000309/0.4989, allocations: 0.7271 MB / 0.7233 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.4991, allocations: 74.05 kB / 0.7234 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4991, allocations: 1.156 kB / 0.7234 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.4992, allocations: 34.2 kB / 0.7235 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.4995, allocations: 7.078 kB / 0.7235 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.4998, allocations: 165.6 kB / 0.7236 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.4999, allocations: 68.14 kB / 0.7237 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.4999, allocations: 7.391 kB / 0.7237 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.4999, allocations: 14.56 kB / 0.7237 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.4999, allocations: 0 / 0.7237 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.5189, allocations: 2.318 MB / 0.726 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/7.289, allocations: 3.75 kB / 0.726 GB, free: 17.9 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.189957404043525] Failed to read output from testmodel.py, exit status != 0: 7.367665373021737 7.379934098 6.883002761 Calling exit ...