Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006301/0.0006301, 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.0007255/0.0007255, 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.8615/0.8615, allocations: 177.2 MB / 202.8 MB, free: 5.793 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.6984/0.6984, allocations: 154.7 MB / 413.9 MB, free: 0.7578 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.Atan2,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="IDEAS_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.0009632/0.0009632, allocations: 63.34 kB / 0.6184 GB, free: 13.57 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.4462/0.4472, allocations: 102 MB / 0.7179 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001403/0.4486, allocations: 0.6869 MB / 0.7186 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.4494, allocations: 0.8618 MB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.4494, allocations: 0.9062 kB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.4495, allocations: 4.688 kB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.4495, allocations: 14.5 kB / 0.7195 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.4497, allocations: 24.64 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.4498, allocations: 47.55 kB / 0.7195 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.4499, allocations: 13.09 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.691e-05/0.45, allocations: 24.98 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.4501, allocations: 22.47 kB / 0.7196 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.4501, allocations: 4.469 kB / 0.7196 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.158e-05/0.4501, allocations: 7.031 kB / 0.7196 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.4502, allocations: 7.344 kB / 0.7196 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.4502, allocations: 22.3 kB / 0.7196 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.4503, allocations: 48.52 kB / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4503, allocations: 4 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4503, allocations: 0 / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.4503, allocations: 1.375 kB / 0.7197 GB, free: 22.09 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.0003768/0.4507, allocations: 292.1 kB / 0.72 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4508, allocations: 10.23 kB / 0.72 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.273e-05/0.4508, allocations: 37.33 kB / 0.72 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.4509, allocations: 8.422 kB / 0.72 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.716e-05/0.4509, allocations: 107.4 kB / 0.7201 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4509, allocations: 9.594 kB / 0.7201 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.451, allocations: 2.312 kB / 0.7201 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.4511, allocations: 68.55 kB / 0.7202 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4511, allocations: 3.938 kB / 0.7202 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.4511, allocations: 1.156 kB / 0.7202 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4511, allocations: 0 / 0.7202 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.4513, allocations: 68.38 kB / 0.7203 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.4516, allocations: 240 kB / 0.7205 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.4517, allocations: 53.59 kB / 0.7206 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.017e-05/0.4518, allocations: 37.12 kB / 0.7206 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.4518, allocations: 1.062 kB / 0.7206 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.4518, allocations: 36.17 kB / 0.7206 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.4518, allocations: 0 / 0.7206 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000346/0.4522, allocations: 133.4 kB / 0.7208 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.4522, allocations: 52.06 kB / 0.7208 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.4522, allocations: 107.8 kB / 0.7209 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.4523, allocations: 26.83 kB / 0.7209 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.4523, allocations: 90.22 kB / 0.721 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.4523, allocations: 15.55 kB / 0.721 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.4523, allocations: 16.52 kB / 0.721 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.577e-05/0.4524, allocations: 314.3 kB / 0.7213 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.4524, allocations: 31.61 kB / 0.7214 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.4525, allocations: 31.17 kB / 0.7214 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4527, allocations: 75.36 kB / 0.7215 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4527, allocations: 0 / 0.7215 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001692/0.4528, allocations: 102 kB / 0.7216 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4528, allocations: 5.219 kB / 0.7216 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4528, allocations: 5 kB / 0.7216 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4529, allocations: 0.7969 kB / 0.7216 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/0.4529, allocations: 20.3 kB / 0.7216 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.453, allocations: 0 / 0.7216 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.453, allocations: 15.56 kB / 0.7216 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.453, allocations: 5 kB / 0.7216 GB, free: 20.46 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.249e-05/0.453, allocations: 118.1 kB / 0.7217 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.4531, allocations: 5.781 kB / 0.7217 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.4533, allocations: 110 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4533, allocations: 3.938 kB / 0.7218 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4533, allocations: 2.266 kB / 0.7219 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4533, allocations: 0 / 0.7219 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.61e-05/0.4534, allocations: 133 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4534, allocations: 0 / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.4534, allocations: 16.12 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4534, allocations: 1.438 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.4534, allocations: 4.703 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.4534, allocations: 0 / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4534, allocations: 5.531 kB / 0.722 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.4536, allocations: 194.8 kB / 0.7222 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-06/0.4536, allocations: 2.062 kB / 0.7222 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.4536, allocations: 2.141 kB / 0.7222 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.4537, allocations: 15.12 kB / 0.7222 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.4537, allocations: 3.672 kB / 0.7222 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.4537, allocations: 5.188 kB / 0.7222 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.283e-05/0.4537, allocations: 96.83 kB / 0.7223 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4537, allocations: 0 / 0.7223 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001415/0.4539, allocations: 6.562 kB / 0.7223 GB, free: 19.88 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.0003201/0.4542, allocations: 0.7236 MB / 0.723 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.4544, allocations: 70.2 kB / 0.7231 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4544, allocations: 0 / 0.7231 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-05/0.4545, allocations: 38.98 kB / 0.7231 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.4547, allocations: 8.234 kB / 0.7231 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.4551, allocations: 162.2 kB / 0.7233 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.511e-05/0.4552, allocations: 68.28 kB / 0.7234 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.4552, allocations: 1.703 kB / 0.7234 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.4552, allocations: 24.22 kB / 0.7234 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of SimCode: time 1.513e-06/0.4553, allocations: 3.938 kB / 0.7234 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.4729, allocations: 2.302 MB / 0.7256 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.559/7.032, allocations: 10.17 kB / 0.7256 GB, free: 18.02 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.699645448941737] Failed to read output from testmodel.py, exit status != 0: 7.1091789689380676 7.122783562 6.670271392 Calling exit ...