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.0008198/0.0008198, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.001013/0.001013, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.1 MB / 202.8 MB, free: 5.75 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.7364/0.7364, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.141e-05, allocations: 5.375 kB / 0.6182 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001195/0.001216, allocations: 0.6828 MB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.001938, allocations: 0.8587 MB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.001965, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.001984, allocations: 7.938 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.002029, allocations: 19.84 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.002178, allocations: 15.92 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.002237, allocations: 47.86 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.002416, allocations: 7.984 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.642e-05/0.002472, allocations: 27.97 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.014e-05/0.002503, allocations: 15.92 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.002515, allocations: 4 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.908e-05/0.002554, allocations: 11.98 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.002565, allocations: 8 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.887e-05/0.002584, allocations: 11.94 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.668e-05/0.00268, allocations: 55.78 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.002682, allocations: 0 / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002683, allocations: 0 / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.002686, allocations: 0 / 0.6199 GB, free: 11.77 MB / 0.5886 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.0002766/0.002962, allocations: 286.2 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.002989, allocations: 8.031 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.261e-05/0.003012, allocations: 38.75 kB / 0.6202 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.003062, allocations: 8.891 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.586e-05/0.003118, allocations: 109.7 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.003127, allocations: 8.375 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.003132, allocations: 4.312 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.003259, allocations: 66.2 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-06/0.003264, allocations: 4.188 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.00327, allocations: 4.375 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.003275, allocations: 4.125 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.003412, allocations: 71.86 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.003626, allocations: 224 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.003727, allocations: 54.53 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.0038, allocations: 36.92 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.003816, allocations: 3.938 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.003832, allocations: 38.56 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.003833, allocations: 0 / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.000259/0.004092, allocations: 129.5 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.004113, allocations: 55.34 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.004163, allocations: 109.8 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.004172, allocations: 29.7 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.004207, allocations: 88.09 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.004222, allocations: 15.88 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.004245, allocations: 13.72 kB / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.004315, allocations: 318.8 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-05/0.004382, allocations: 31.95 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.004446, allocations: 31.97 kB / 0.6216 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.004579, allocations: 76.98 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.00458, allocations: 0 / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001505/0.00473, allocations: 101.5 kB / 0.6218 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.00474, allocations: 8 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.004742, allocations: 0 / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.004748, allocations: 4 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.767e-05/0.004806, allocations: 19.97 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.004808, allocations: 0 / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.004841, allocations: 11.98 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.004847, allocations: 4 kB / 0.6218 GB, free: 9.594 MB / 0.5886 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.352e-05/0.004891, allocations: 106.8 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.004905, allocations: 7.938 kB / 0.6219 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.005085, allocations: 113.5 kB / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.005086, allocations: 0 / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.005088, allocations: 3.938 kB / 0.622 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.00509, allocations: 0 / 0.622 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.005196, allocations: 140.7 kB / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005197, allocations: 0 / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.005237, allocations: 23.92 kB / 0.6222 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.005238, allocations: 0 / 0.6222 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.005243, allocations: 4 kB / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.005244, allocations: 0 / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.005244, allocations: 0 / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.005417, allocations: 199.4 kB / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-06/0.005422, allocations: 3.938 kB / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-06/0.00543, allocations: 0 / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.014e-05/0.00548, allocations: 15.98 kB / 0.6224 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.005502, allocations: 7.984 kB / 0.6224 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.005506, allocations: 4 kB / 0.6224 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.725e-05/0.005533, allocations: 83.28 kB / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005533, allocations: 0 / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001411/0.005674, allocations: 8 kB / 0.6225 GB, free: 8.809 MB / 0.5886 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.0003368/0.006011, allocations: 0.728 MB / 0.6232 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.006175, allocations: 71.8 kB / 0.6233 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.72e-07/0.006176, allocations: 4 kB / 0.6233 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.001e-05/0.006246, allocations: 35.95 kB / 0.6233 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.006424, allocations: 6.188 kB / 0.6233 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.006701, allocations: 154.6 kB / 0.6235 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.00674, allocations: 67.28 kB / 0.6236 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.608e-05/0.006756, allocations: 384 / 0.6236 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.006787, allocations: 24.42 kB / 0.6236 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.006787, allocations: 0 / 0.6236 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.01978, allocations: 2.32 MB / 0.6258 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.865/6.885, allocations: 8.672 kB / 0.6258 GB, free: 5.461 MB / 0.5886 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.726548304781318] Failed to read output from testmodel.py, exit status != 0: 6.972440471872687 6.983414592 6.978595623 Calling exit ...