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.00104/0.00104, allocations: 105.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.0009233/0.0009233, allocations: 217.2 kB / 22.24 MB, free: 3.594 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 0.9506/0.9506, allocations: 230.6 MB / 256 MB, free: 9.598 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.7983/0.7983, allocations: 203.5 MB / 0.5039 GB, free: 10.69 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.001347/0.001347, allocations: 73.48 kB / 0.7178 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5343/0.5356, allocations: 102 MB / 0.8174 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001395/0.537, allocations: 0.6829 MB / 0.8181 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006277/0.5377, allocations: 0.866 MB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.5377, allocations: 0.6562 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.5377, allocations: 3.938 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.5378, allocations: 6.047 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.538, allocations: 31.14 kB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.097e-05/0.538, allocations: 46.84 kB / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.5381, allocations: 10.14 kB / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.5382, allocations: 17.27 kB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.5382, allocations: 18.08 kB / 0.8191 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.5382, allocations: 4.562 kB / 0.8191 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.305e-05/0.5383, allocations: 10.38 kB / 0.8191 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.5383, allocations: 5.875 kB / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.5383, allocations: 13.95 kB / 0.8191 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.5384, allocations: 48.81 kB / 0.8191 GB, free: 72 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5384, allocations: 17 kB / 0.8192 GB, free: 56 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5384, allocations: 0 / 0.8192 GB, free: 56 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5384, allocations: 0 / 0.8192 GB, free: 56 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.0006591/0.5391, allocations: 290.7 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.5391, allocations: 9.906 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.5392, allocations: 33 kB / 0.8195 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.5393, allocations: 10.23 kB / 0.8195 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.481e-05/0.5393, allocations: 109.2 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5393, allocations: 6.719 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.5394, allocations: 7.391 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.5395, allocations: 67.67 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5395, allocations: 3.938 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.5395, allocations: 0 / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5395, allocations: 2 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.5397, allocations: 67.3 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.54, allocations: 234.9 kB / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.5401, allocations: 55.44 kB / 0.82 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.5402, allocations: 36.58 kB / 0.8201 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.5402, allocations: 0.5625 kB / 0.8201 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.5402, allocations: 36.72 kB / 0.8201 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.5402, allocations: 0 / 0.8201 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003298/0.5406, allocations: 129 kB / 0.8202 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.5406, allocations: 52.81 kB / 0.8203 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.5407, allocations: 107.4 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.5407, allocations: 25.7 kB / 0.8204 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.5407, allocations: 91.16 kB / 0.8205 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.5407, allocations: 12.45 kB / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.5408, allocations: 22.16 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.5408, allocations: 316.1 kB / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.5409, allocations: 29.25 kB / 0.8208 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.541, allocations: 40.45 kB / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.5411, allocations: 79.3 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5411, allocations: 0 / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001709/0.5413, allocations: 92.45 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.5413, allocations: 7.453 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5413, allocations: 3.938 kB / 0.8211 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.5413, allocations: 0 / 0.8211 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.5414, allocations: 20.41 kB / 0.8211 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.5414, allocations: 4 kB / 0.8211 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.5415, allocations: 17.97 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.5415, allocations: 0 / 0.8211 GB, free: 14.43 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 5.052e-05/0.5415, allocations: 113.8 kB / 0.8212 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.5415, allocations: 8.547 kB / 0.8212 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.5418, allocations: 108.4 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5418, allocations: 4.797 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5418, allocations: 0.9062 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5418, allocations: 0 / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.5419, allocations: 138.9 kB / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5419, allocations: 0 / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.5419, allocations: 14.98 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5419, allocations: 0.5625 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.5419, allocations: 2.719 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5419, allocations: 0.5625 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5419, allocations: 0 / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.5421, allocations: 206.1 kB / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.5421, allocations: 5.391 kB / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.5421, allocations: 0.5625 kB / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.5422, allocations: 9.531 kB / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.5422, allocations: 4.125 kB / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.5422, allocations: 3 kB / 0.8217 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.5423, allocations: 96.11 kB / 0.8218 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5423, allocations: 0 / 0.8218 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001435/0.5424, allocations: 5.125 kB / 0.8218 GB, free: 13.84 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.0003667/0.5428, allocations: 0.7269 MB / 0.8225 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.543, allocations: 71.92 kB / 0.8226 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.543, allocations: 0 / 0.8226 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/0.543, allocations: 39.92 kB / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.5433, allocations: 4.391 kB / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.5436, allocations: 166.2 kB / 0.8228 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.5437, allocations: 71.69 kB / 0.8228 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.5437, allocations: 6.359 kB / 0.8228 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.5437, allocations: 14.88 kB / 0.8228 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5437, allocations: 0 / 0.8228 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.5604, allocations: 2.179 MB / 0.825 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/7.52, allocations: 7.578 kB / 0.825 GB, free: 12.03 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.462301744148135] Failed to read output from testmodel.py, exit status != 0: 7.597105277702212 7.60863027 7.06765437 Calling exit ...