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.0008639/0.0008639, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000866/0.000866, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9277/0.9277, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.715/0.715, allocations: 154.6 MB / 413.8 MB, free: 0.7773 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 2.905e-06/2.905e-06, allocations: 0 / 0.6182 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.796e-05, allocations: 4.953 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.001886/0.001914, allocations: 0.6857 MB / 0.6188 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003053, allocations: 0.8626 MB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.003095, allocations: 3.938 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.003127, allocations: 3.938 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.003203, allocations: 15.86 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.003411, allocations: 19.97 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.393e-05/0.003505, allocations: 43.86 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.003612, allocations: 7.984 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.003702, allocations: 23.92 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.003757, allocations: 23.97 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.003777, allocations: 4 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.246e-05/0.00383, allocations: 11.94 kB / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.003848, allocations: 7.984 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.003872, allocations: 11.94 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.004012, allocations: 51.84 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.004015, allocations: 0 / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.263e-06/0.004016, allocations: 4 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.00402, allocations: 0 / 0.6199 GB, free: 11.75 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.0004683/0.004488, allocations: 286.2 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.004533, allocations: 12.02 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.004579, allocations: 38.69 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.00472, allocations: 8.891 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.004825, allocations: 109.8 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.004837, allocations: 384 / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.004849, allocations: 4.375 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.005079, allocations: 70.2 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.005088, allocations: 192 / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.005098, allocations: 4.312 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.005106, allocations: 12.12 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.005319, allocations: 59.92 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.005753, allocations: 228.1 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.005934, allocations: 50.53 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.006048, allocations: 40.92 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.006075, allocations: 7.875 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.006106, allocations: 34.56 kB / 0.6208 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.006107, allocations: 0 / 0.6208 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004502/0.006557, allocations: 129.6 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.006613, allocations: 55.41 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.006745, allocations: 105.8 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.006764, allocations: 29.7 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.006808, allocations: 88.09 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.00683, allocations: 7.891 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.006869, allocations: 17.7 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.006951, allocations: 322.8 kB / 0.6215 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.00706, allocations: 31.91 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.007129, allocations: 39.89 kB / 0.6216 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.007272, allocations: 68.78 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.007274, allocations: 0 / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000185/0.00746, allocations: 105.5 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.007475, allocations: 4 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.007481, allocations: 0 / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.007502, allocations: 4.328 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.007591, allocations: 11.98 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.007596, allocations: 0 / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.007636, allocations: 15.97 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.007643, allocations: 0 / 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 5.724e-05/0.0077, allocations: 126.7 kB / 0.6219 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.007715, allocations: 3.938 kB / 0.6219 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.007916, allocations: 109.6 kB / 0.622 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.007919, allocations: 0 / 0.622 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.007926, allocations: 8 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007929, allocations: 0 / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.008051, allocations: 128.8 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.008052, allocations: 0 / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.008095, allocations: 23.91 kB / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.008097, allocations: 0 / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.008103, allocations: 4 kB / 0.6222 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.008104, allocations: 0 / 0.6222 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008105, allocations: 0 / 0.6222 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.008292, allocations: 195.4 kB / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.008302, allocations: 15.92 kB / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.008312, allocations: 0 / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.008397, allocations: 11.98 kB / 0.6224 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.008438, allocations: 4 kB / 0.6224 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.008441, allocations: 3.984 kB / 0.6224 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.208e-05/0.008473, allocations: 87.27 kB / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.008473, allocations: 0 / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00108/0.009554, allocations: 12 kB / 0.6225 GB, free: 8.797 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.0005914/0.01015, allocations: 0.7279 MB / 0.6232 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002904/0.01044, allocations: 63.92 kB / 0.6233 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01044, allocations: 0 / 0.6233 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.01056, allocations: 43.95 kB / 0.6233 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01085, allocations: 4 kB / 0.6233 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.01124, allocations: 162.4 kB / 0.6235 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.882e-05/0.01128, allocations: 67.28 kB / 0.6236 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.19e-05/0.01131, allocations: 0 / 0.6236 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.01135, allocations: 16.5 kB / 0.6236 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of SimCode: time 6.02e-07/0.01135, allocations: 4 kB / 0.6236 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.0257, allocations: 2.319 MB / 0.6258 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.436/6.461, allocations: 14.03 kB / 0.6259 GB, free: 5.449 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 & /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: 9.143837415613234] Failed to read output from testmodel.py, exit status != 0: 6.541422584094107 6.550332019 6.544348901 Calling exit ...