Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001267/0.001267, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 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.001452/0.001452, allocations: 211.8 kB / 23.78 MB, free: 4.523 MB / 14.72 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.471/1.471, allocations: 230.6 MB / 257.6 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9506/0.9506, allocations: 150 MB / 464 MB, free: 10.23 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002256/0.002256, allocations: 63.09 kB / 0.642 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2137, allocations: 89.17 MB / 0.7291 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002922/0.2166, allocations: 0.6814 MB / 0.7298 GB, free: 120 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.2184, allocations: 0.8626 MB / 0.7306 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.2185, allocations: 0 / 0.7306 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.2185, allocations: 3.938 kB / 0.7306 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2187, allocations: 11.92 kB / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.2189, allocations: 11.98 kB / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.219, allocations: 51.84 kB / 0.7307 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2192, allocations: 8 kB / 0.7307 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.376e-05/0.2193, allocations: 15.92 kB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.2193, allocations: 27.92 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2194, allocations: 4 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.419e-05/0.2194, allocations: 7.984 kB / 0.7307 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.2195, allocations: 15.92 kB / 0.7307 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.2195, allocations: 11.92 kB / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.2197, allocations: 48.09 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2197, allocations: 0 / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2197, allocations: 0 / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.2197, allocations: 4 kB / 0.7308 GB, free: 15.02 MB / 0.5606 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.0007108/0.2204, allocations: 294.1 kB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.2204, allocations: 8.031 kB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.712e-05/0.2204, allocations: 192 / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.2205, allocations: 46.67 kB / 0.7311 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.2206, allocations: 4.938 kB / 0.7311 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2208, allocations: 110.5 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2208, allocations: 4.375 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2208, allocations: 4.359 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.2211, allocations: 73.97 kB / 0.7313 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2211, allocations: 4 kB / 0.7313 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2212, allocations: 0 / 0.7313 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2212, allocations: 3.984 kB / 0.7313 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.2216, allocations: 63.88 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.2221, allocations: 235.9 kB / 0.7316 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.2224, allocations: 54.55 kB / 0.7317 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.2226, allocations: 36.91 kB / 0.7317 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.2226, allocations: 4 kB / 0.7317 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.2227, allocations: 30.56 kB / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.2227, allocations: 3.938 kB / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000784/0.2234, allocations: 133.5 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.2235, allocations: 55.41 kB / 0.7319 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2236, allocations: 109.8 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.2237, allocations: 25.7 kB / 0.7321 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.2237, allocations: 84.14 kB / 0.7321 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.2238, allocations: 11.89 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.2238, allocations: 9.719 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.224, allocations: 330.8 kB / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.2242, allocations: 35.97 kB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.2244, allocations: 35.95 kB / 0.7325 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.2248, allocations: 68.72 kB / 0.7326 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2248, allocations: 0 / 0.7326 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004682/0.2253, allocations: 101.6 kB / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2253, allocations: 8 kB / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2253, allocations: 0 / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2253, allocations: 0 / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.2255, allocations: 15.98 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2255, allocations: 0 / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2256, allocations: 11.97 kB / 0.7327 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.2257, allocations: 8 kB / 0.7327 GB, free: 12.84 MB / 0.5606 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 0.0001148/0.2258, allocations: 115.8 kB / 0.7329 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.2258, allocations: 7.953 kB / 0.7329 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/0.2263, allocations: 109.5 kB / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2263, allocations: 384 / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2263, allocations: 0 / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2263, allocations: 0 / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.2266, allocations: 140.6 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2266, allocations: 3.984 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.2267, allocations: 19.97 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2267, allocations: 0 / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.2267, allocations: 3.938 kB / 0.7331 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2267, allocations: 0 / 0.7331 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2267, allocations: 0 / 0.7331 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.2273, allocations: 203.4 kB / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.2273, allocations: 3.953 kB / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2273, allocations: 3.984 kB / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.2275, allocations: 11.98 kB / 0.7333 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.2275, allocations: 4 kB / 0.7333 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2275, allocations: 4 kB / 0.7334 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.2276, allocations: 91.56 kB / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2276, allocations: 0 / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004049/0.228, allocations: 8 kB / 0.7334 GB, free: 12.04 MB / 0.5606 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.0009516/0.229, allocations: 0.7318 MB / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.2294, allocations: 67.92 kB / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2294, allocations: 0 / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.2296, allocations: 35.97 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.2301, allocations: 7.984 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.2308, allocations: 171.6 kB / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.134e-05/0.2309, allocations: 63.34 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.005e-05/0.2309, allocations: 4 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.231, allocations: 15.44 kB / 0.7345 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.231, allocations: 0 / 0.7345 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.2584, allocations: 1.833 MB / 0.7363 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.71, allocations: 8.547 kB / 0.7363 GB, free: 9.188 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.597066917922348] Failed to read output from testmodel.py, exit status != 0: 11.874523603008129 11.890812666 11.667718596 Calling exit ...