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.0008611/0.0008611, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001222/0.001222, allocations: 209.2 kB / 22.24 MB, free: 3.57 MB / 13.93 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 1.009/1.009, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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.8008/0.8008, allocations: 203.5 MB / 0.5039 GB, free: 10.66 MB / 410.7 MB " [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.00135/0.00135, allocations: 74.95 kB / 0.7178 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5286, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001507/0.5301, allocations: 0.6917 MB / 0.8181 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000753/0.5308, allocations: 0.8641 MB / 0.8189 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.5309, allocations: 0 / 0.8189 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.5309, allocations: 4.547 kB / 0.8189 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.531, allocations: 8.594 kB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.5312, allocations: 23.34 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.754e-05/0.5312, allocations: 46.89 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.5314, allocations: 12.59 kB / 0.819 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.5314, allocations: 18.62 kB / 0.819 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.5315, allocations: 17.2 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.5315, allocations: 8.344 kB / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.563e-05/0.5315, allocations: 8.156 kB / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.5315, allocations: 5.922 kB / 0.8191 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.5316, allocations: 13.83 kB / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.5317, allocations: 55.62 kB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5317, allocations: 0 / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5317, allocations: 0 / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.5317, allocations: 0 / 0.8192 GB, free: 40 kB / 0.6042 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.0004177/0.5321, allocations: 291.7 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5322, allocations: 10.44 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.5322, allocations: 39.39 kB / 0.8195 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.5323, allocations: 11.27 kB / 0.8195 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.874e-05/0.5323, allocations: 110.8 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.5324, allocations: 384 / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.5324, allocations: 2.391 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.5325, allocations: 72.5 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.5326, allocations: 11.34 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.5326, allocations: 0 / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5326, allocations: 3.938 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.5327, allocations: 62.67 kB / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.5331, allocations: 235.2 kB / 0.82 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.5333, allocations: 59.14 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.5334, allocations: 37.67 kB / 0.8201 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.5334, allocations: 0 / 0.8201 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.5334, allocations: 35.06 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.5334, allocations: 1.812 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003266/0.5337, allocations: 136.8 kB / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.5337, allocations: 51.41 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.5338, allocations: 108.5 kB / 0.8204 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.5338, allocations: 25.7 kB / 0.8204 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.5339, allocations: 89.72 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.5339, allocations: 12.62 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.5339, allocations: 14.84 kB / 0.8205 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.534, allocations: 314.4 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.5341, allocations: 34.27 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.222e-05/0.5342, allocations: 36.97 kB / 0.8209 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.5343, allocations: 69.69 kB / 0.8209 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5343, allocations: 0 / 0.8209 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001785/0.5345, allocations: 100.1 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5345, allocations: 3.625 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5345, allocations: 2.031 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5345, allocations: 0 / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.5346, allocations: 15.64 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5346, allocations: 0 / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.5347, allocations: 16.67 kB / 0.8211 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.5347, allocations: 5.188 kB / 0.8211 GB, free: 14.42 MB / 0.6198 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 6.229e-05/0.5347, allocations: 126.3 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.5347, allocations: 3.953 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.535, allocations: 105.6 kB / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.535, allocations: 1.938 kB / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.535, allocations: 0 / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.535, allocations: 0 / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.5351, allocations: 142.8 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5351, allocations: 2.25 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.5351, allocations: 12.25 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5351, allocations: 1.891 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.5351, allocations: 4 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5352, allocations: 0.5156 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5352, allocations: 6.406 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.5354, allocations: 201.4 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.5354, allocations: 2.531 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.5354, allocations: 1.906 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-05/0.5354, allocations: 15.48 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.5355, allocations: 8.531 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.5355, allocations: 432 / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.5355, allocations: 88.73 kB / 0.8218 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5355, allocations: 0 / 0.8218 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000142/0.5357, allocations: 6.609 kB / 0.8218 GB, free: 13.82 MB / 0.6198 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.0003984/0.5361, allocations: 0.731 MB / 0.8225 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.5363, allocations: 72.28 kB / 0.8226 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5363, allocations: 0 / 0.8226 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.5363, allocations: 38.66 kB / 0.8226 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.5366, allocations: 9.562 kB / 0.8226 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.537, allocations: 166.1 kB / 0.8228 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.57e-05/0.537, allocations: 65.91 kB / 0.8228 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.5371, allocations: 4.703 kB / 0.8228 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.5371, allocations: 18.45 kB / 0.8229 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.5371, allocations: 0 / 0.8229 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.5522, allocations: 2.18 MB / 0.825 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/7.214, allocations: 6.406 kB / 0.825 GB, free: 12 MB / 0.6198 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: 10.32566845510155] Failed to read output from testmodel.py, exit status != 0: 7.302441922947764 7.315669161 6.781792869 Calling exit ...