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.001338/0.001338, 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.00231/0.00231, 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.484/1.484, 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.26/1.26, allocations: 154.7 MB / 413.8 MB, free: 3.125 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.00204/0.00204, allocations: 67.39 kB / 0.6181 GB, free: 1.062 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.218/0.22, allocations: 102 MB / 0.7177 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002109/0.2221, allocations: 0.6815 MB / 0.7184 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2233, allocations: 0.863 MB / 0.7192 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.2233, allocations: 0 / 0.7192 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.2234, allocations: 7.922 kB / 0.7192 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.2234, allocations: 15.88 kB / 0.7192 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.2236, allocations: 23.97 kB / 0.7193 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2237, allocations: 47.84 kB / 0.7193 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2239, allocations: 4 kB / 0.7193 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.2239, allocations: 27.92 kB / 0.7193 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.224, allocations: 23.91 kB / 0.7194 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.224, allocations: 4 kB / 0.7194 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.652e-05/0.2241, allocations: 4 kB / 0.7194 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.2241, allocations: 8 kB / 0.7194 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.2241, allocations: 15.92 kB / 0.7194 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.2243, allocations: 60.02 kB / 0.7194 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2243, allocations: 0 / 0.7194 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2243, allocations: 0 / 0.7194 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2243, allocations: 4 kB / 0.7195 GB, free: 9.398 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005558/0.2248, allocations: 290.1 kB / 0.7197 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2249, allocations: 8.031 kB / 0.7197 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.2249, allocations: 34.75 kB / 0.7198 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.225, allocations: 8.891 kB / 0.7198 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.2251, allocations: 114.5 kB / 0.7199 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2252, allocations: 384 / 0.7199 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.2252, allocations: 4.375 kB / 0.7199 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.2254, allocations: 70.2 kB / 0.72 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2255, allocations: 3.938 kB / 0.72 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.2255, allocations: 0 / 0.72 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2255, allocations: 4 kB / 0.72 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.2258, allocations: 63.92 kB / 0.72 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.2262, allocations: 239.8 kB / 0.7203 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.2264, allocations: 54.53 kB / 0.7203 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.2265, allocations: 36.92 kB / 0.7203 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.2266, allocations: 0 / 0.7203 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.2266, allocations: 34.56 kB / 0.7204 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.2266, allocations: 4 kB / 0.7204 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005829/0.2272, allocations: 129.7 kB / 0.7205 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.2272, allocations: 51.41 kB / 0.7206 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.515e-05/0.2273, allocations: 113.8 kB / 0.7207 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.2273, allocations: 29.7 kB / 0.7207 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.2274, allocations: 88.14 kB / 0.7208 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.2274, allocations: 11.84 kB / 0.7208 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.2274, allocations: 17.7 kB / 0.7208 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2276, allocations: 318.8 kB / 0.7211 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.2277, allocations: 31.95 kB / 0.7211 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.2279, allocations: 35.94 kB / 0.7212 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.2282, allocations: 76.72 kB / 0.7212 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2282, allocations: 0 / 0.7212 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003307/0.2285, allocations: 97.56 kB / 0.7213 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2285, allocations: 4 kB / 0.7213 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2285, allocations: 4 kB / 0.7213 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2285, allocations: 0 / 0.7213 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.2287, allocations: 15.98 kB / 0.7214 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.2287, allocations: 3.984 kB / 0.7214 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.445e-05/0.2288, allocations: 11.98 kB / 0.7214 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.2288, allocations: 0 / 0.7214 GB, free: 7.23 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 8.989e-05/0.2289, allocations: 117.8 kB / 0.7215 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.2289, allocations: 3.953 kB / 0.7215 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.2293, allocations: 113.5 kB / 0.7216 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2293, allocations: 0 / 0.7216 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2293, allocations: 4 kB / 0.7216 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2293, allocations: 0 / 0.7216 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.2295, allocations: 132.7 kB / 0.7217 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2295, allocations: 3.984 kB / 0.7217 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.2296, allocations: 15.98 kB / 0.7218 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2296, allocations: 4 kB / 0.7218 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.2296, allocations: 0 / 0.7218 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2296, allocations: 4 kB / 0.7218 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2296, allocations: 0 / 0.7218 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.23, allocations: 199.4 kB / 0.7219 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.23, allocations: 4 kB / 0.722 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.23, allocations: 0 / 0.722 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2301, allocations: 11.98 kB / 0.722 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.2302, allocations: 11.92 kB / 0.722 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2302, allocations: 4 kB / 0.722 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.891e-05/0.2302, allocations: 87.28 kB / 0.7221 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2302, allocations: 0 / 0.7221 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002159/0.2304, allocations: 11.94 kB / 0.7221 GB, free: 6.438 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.000757/0.2312, allocations: 0.7241 MB / 0.7228 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.2316, allocations: 72.14 kB / 0.7228 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2316, allocations: 0 / 0.7228 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.2317, allocations: 35.95 kB / 0.7229 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.2321, allocations: 12.06 kB / 0.7229 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/0.2326, allocations: 171.5 kB / 0.7231 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.223e-05/0.2327, allocations: 71.33 kB / 0.7231 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.2327, allocations: 0 / 0.7231 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.2328, allocations: 12.5 kB / 0.7231 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.2328, allocations: 0 / 0.7231 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.263, allocations: 2.307 MB / 0.7254 GB, free: 3.059 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.38, allocations: 8.422 kB / 0.7254 GB, free: 3.055 MB / 0.6198 GB " [Timeout remaining time 648] (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: 15.579705909010954] Failed to read output from testmodel.py, exit status != 0: 11.50696583899844 11.535942444 11.306705103 Calling exit ...