Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.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.001276/0.001276, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.00158/0.00158, allocations: 167.8 kB / 22.29 MB, free: 3.516 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.405/1.405, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] 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 1.231/1.231, allocations: 154.7 MB / 413.8 MB, free: 3.086 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.Atan,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan",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.002047/0.002047, allocations: 69.19 kB / 0.6181 GB, free: 1.035 MB / 0.5105 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.2042/0.2063, allocations: 102 MB / 0.7177 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002055/0.2083, allocations: 0.6536 MB / 0.7183 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2095, allocations: 0.8475 MB / 0.7192 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.2096, allocations: 0 / 0.7192 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.2096, allocations: 3.938 kB / 0.7192 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.2097, allocations: 0 / 0.7192 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.2099, allocations: 15.92 kB / 0.7192 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.21, allocations: 27.86 kB / 0.7192 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.2102, allocations: 7.984 kB / 0.7192 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2103, allocations: 12 kB / 0.7192 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.2103, allocations: 19.86 kB / 0.7193 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2103, allocations: 0 / 0.7193 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.2104, allocations: 4 kB / 0.7193 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.2104, allocations: 8 kB / 0.7193 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.2104, allocations: 3.984 kB / 0.7193 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.2106, allocations: 36.11 kB / 0.7193 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2106, allocations: 0 / 0.7193 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2106, allocations: 0 / 0.7193 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.2106, allocations: 0 / 0.7193 GB, free: 9.523 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000601/0.2112, allocations: 266.3 kB / 0.7196 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.2113, allocations: 8.031 kB / 0.7196 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.2113, allocations: 30.75 kB / 0.7196 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.2115, allocations: 8.891 kB / 0.7196 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.2116, allocations: 110.5 kB / 0.7197 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.2116, allocations: 4.375 kB / 0.7197 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.2117, allocations: 384 / 0.7197 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.2119, allocations: 54.12 kB / 0.7198 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2119, allocations: 3.938 kB / 0.7198 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2119, allocations: 3.984 kB / 0.7198 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2119, allocations: 4 kB / 0.7198 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.2121, allocations: 31.97 kB / 0.7198 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.2125, allocations: 212.1 kB / 0.72 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.2127, allocations: 46.42 kB / 0.7201 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.285e-05/0.2128, allocations: 20.91 kB / 0.7201 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.2128, allocations: 4 kB / 0.7201 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.2128, allocations: 34.56 kB / 0.7201 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2128, allocations: 0 / 0.7201 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004134/0.2132, allocations: 81.64 kB / 0.7202 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.2133, allocations: 51.41 kB / 0.7202 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2134, allocations: 97.84 kB / 0.7203 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.2134, allocations: 25.7 kB / 0.7204 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.2135, allocations: 92.08 kB / 0.7204 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.2135, allocations: 4.078 kB / 0.7205 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.2136, allocations: 17.72 kB / 0.7205 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.2137, allocations: 318.8 kB / 0.7208 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.2138, allocations: 11.98 kB / 0.7208 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.2139, allocations: 19.98 kB / 0.7208 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.2141, allocations: 36.81 kB / 0.7208 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.2141, allocations: 3.938 kB / 0.7208 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/0.2143, allocations: 69.69 kB / 0.7209 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2143, allocations: 4 kB / 0.7209 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2143, allocations: 4 kB / 0.7209 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2143, allocations: 3.938 kB / 0.7209 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2144, allocations: 11.92 kB / 0.7209 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.2144, allocations: 0 / 0.7209 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.876e-05/0.2145, allocations: 7.984 kB / 0.7209 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.2145, allocations: 4.031 kB / 0.7209 GB, free: 7.652 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 (2): * Single equations (assignments): 2 * 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 0.0001142/0.2146, allocations: 117.8 kB / 0.7211 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.2146, allocations: 0 / 0.7211 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.2149, allocations: 68.97 kB / 0.7211 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2149, allocations: 0 / 0.7211 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.2149, allocations: 0 / 0.7211 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2149, allocations: 7.922 kB / 0.7211 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.2151, allocations: 124.7 kB / 0.7212 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2151, allocations: 4 kB / 0.7213 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.2152, allocations: 16.02 kB / 0.7213 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2152, allocations: 0 / 0.7213 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2152, allocations: 0 / 0.7213 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2152, allocations: 3.938 kB / 0.7213 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2152, allocations: 0 / 0.7213 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.2155, allocations: 163.5 kB / 0.7214 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.2155, allocations: 7.953 kB / 0.7214 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2155, allocations: 0 / 0.7214 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.2156, allocations: 12.02 kB / 0.7214 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.2156, allocations: 0 / 0.7214 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2156, allocations: 0 / 0.7214 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.2157, allocations: 87.27 kB / 0.7215 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.2157, allocations: 0 / 0.7215 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002093/0.2159, allocations: 4 kB / 0.7215 GB, free: 6.977 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 (2): * Single equations (assignments): 2 * 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.0006522/0.2165, allocations: 0.6968 MB / 0.7222 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.2167, allocations: 35.95 kB / 0.7222 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2167, allocations: 0 / 0.7222 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.2168, allocations: 19.98 kB / 0.7223 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2172, allocations: 6.031 kB / 0.7223 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.2176, allocations: 143.7 kB / 0.7224 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.374e-05/0.2177, allocations: 63.47 kB / 0.7225 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.017e-05/0.2177, allocations: 0 / 0.7225 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.2178, allocations: 16.5 kB / 0.7225 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.2178, allocations: 0 / 0.7225 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.2495, allocations: 1.928 MB / 0.7244 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.32, allocations: 0.5 kB / 0.7244 GB, free: 4.082 MB / 0.6198 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.267901154002175] Failed to read output from testmodel.py, exit status != 0: 11.42368479599827 11.449563499 11.234287023 Calling exit ...