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.001292/0.001292, allocations: 119 kB / 19.69 MB, free: 2.199 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.001467/0.001467, allocations: 221.5 kB / 23.01 MB, free: 5.043 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9732/0.9732, allocations: 150 MB / 463.2 MB, free: 10.46 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",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.002202/0.002202, allocations: 68.64 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1751, allocations: 89.17 MB / 0.7284 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002026/0.1771, allocations: 0.7023 MB / 0.7291 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1783, allocations: 0.8783 MB / 0.7299 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.1783, allocations: 0 / 0.7299 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.1784, allocations: 3.938 kB / 0.7299 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.1784, allocations: 7.938 kB / 0.7299 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.1786, allocations: 27.89 kB / 0.73 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.242e-05/0.1787, allocations: 39.86 kB / 0.73 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.1788, allocations: 11.98 kB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.101e-05/0.1789, allocations: 23.88 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.1789, allocations: 23.91 kB / 0.7301 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.179, allocations: 4 kB / 0.7301 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.179, allocations: 8 kB / 0.7301 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.179, allocations: 4 kB / 0.7301 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.1791, allocations: 23.86 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.1792, allocations: 44.08 kB / 0.7302 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1792, allocations: 4 kB / 0.7302 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1792, allocations: 0 / 0.7302 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.1792, allocations: 0 / 0.7302 GB, free: 15.44 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.000488/0.1797, allocations: 294.2 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1797, allocations: 12.02 kB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.1797, allocations: 30.75 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.312e-05/0.1798, allocations: 4.938 kB / 0.7305 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1799, allocations: 110.5 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1799, allocations: 4.375 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1799, allocations: 4.375 kB / 0.7306 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.1802, allocations: 74.14 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1802, allocations: 3.938 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1802, allocations: 4 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1802, allocations: 4 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.1805, allocations: 59.92 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.1809, allocations: 239.9 kB / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.1811, allocations: 58.47 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.1813, allocations: 40.91 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1813, allocations: 0 / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.638e-05/0.1814, allocations: 38.55 kB / 0.7311 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1814, allocations: 3.938 kB / 0.7311 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005669/0.1819, allocations: 125.5 kB / 0.7312 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.182, allocations: 55.41 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1821, allocations: 121.8 kB / 0.7314 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1821, allocations: 25.7 kB / 0.7314 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.1822, allocations: 92.12 kB / 0.7315 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.1822, allocations: 7.891 kB / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.1822, allocations: 13.72 kB / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1824, allocations: 318.8 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1825, allocations: 31.95 kB / 0.7319 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1826, allocations: 39.97 kB / 0.7319 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.183, allocations: 68.72 kB / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.183, allocations: 0 / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003202/0.1833, allocations: 101.6 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1833, allocations: 8 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1833, allocations: 0 / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1833, allocations: 3.938 kB / 0.7321 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1835, allocations: 19.97 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1835, allocations: 0 / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.1836, allocations: 7.984 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1836, allocations: 4 kB / 0.7321 GB, free: 13.25 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 9.105e-05/0.1836, allocations: 117.8 kB / 0.7322 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.1837, allocations: 7.953 kB / 0.7322 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.184, allocations: 101.6 kB / 0.7323 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.184, allocations: 4 kB / 0.7323 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.184, allocations: 0 / 0.7323 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1841, allocations: 7.984 kB / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1842, allocations: 136.7 kB / 0.7325 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1842, allocations: 0 / 0.7325 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1843, allocations: 23.92 kB / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1843, allocations: 0 / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1843, allocations: 0 / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1843, allocations: 0 / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1844, allocations: 0 / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.1847, allocations: 195.4 kB / 0.7327 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.1847, allocations: 8.375 kB / 0.7327 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1848, allocations: 7.938 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1849, allocations: 15.92 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.1849, allocations: 3.984 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.1849, allocations: 0 / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.825e-05/0.185, allocations: 95.27 kB / 0.7328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.185, allocations: 0 / 0.7328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002353/0.1852, allocations: 8 kB / 0.7328 GB, free: 12.45 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.0007112/0.1859, allocations: 0.7318 MB / 0.7335 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.1862, allocations: 67.92 kB / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1862, allocations: 0 / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.1864, allocations: 39.91 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1867, allocations: 9.75 kB / 0.7336 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.1872, allocations: 167.7 kB / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.1875, allocations: 0.6807 MB / 0.7344 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.1875, allocations: 3.984 kB / 0.7345 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.1876, allocations: 19.44 kB / 0.7345 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1876, allocations: 0 / 0.7345 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.2172, allocations: 1.729 MB / 0.7362 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.27, allocations: 10.56 kB / 0.7362 GB, free: 9.047 MB / 0.5606 GB " [Timeout remaining time 649] (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.027743599144742] Failed to read output from testmodel.py, exit status != 0: 11.377975099021569 11.403180866 11.219334024 Calling exit ...