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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 194.7 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.064/1.064, allocations: 147.6 MB / 445.6 MB, free: 8.293 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 70.8 kB / 0.6109 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1563, allocations: 83.15 MB / 0.6922 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002174/0.1585, allocations: 0.6963 MB / 0.6928 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1598, allocations: 0.8269 MB / 0.6936 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.1599, allocations: 0 / 0.6936 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.856e-05/0.16, allocations: 5.344 kB / 0.6936 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1601, allocations: 7.938 kB / 0.6937 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1604, allocations: 23.02 kB / 0.6937 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1606, allocations: 45.66 kB / 0.6937 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1607, allocations: 8.469 kB / 0.6937 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1608, allocations: 18.61 kB / 0.6937 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.1609, allocations: 25.44 kB / 0.6938 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.161, allocations: 11.3 kB / 0.6938 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.919e-05/0.161, allocations: 3.406 kB / 0.6938 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.161, allocations: 9.156 kB / 0.6938 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.1611, allocations: 20.48 kB / 0.6938 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.1613, allocations: 35.06 kB / 0.6938 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.1613, allocations: 5.438 kB / 0.6938 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.767e-06/0.1613, allocations: 0 / 0.6938 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.1613, allocations: 0 / 0.6938 GB, free: 11.95 MB / 0.5137 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.0008253/0.1621, allocations: 359.3 kB / 0.6942 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.1622, allocations: 8.875 kB / 0.6942 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.1623, allocations: 35.69 kB / 0.6942 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.1623, allocations: 6.922 kB / 0.6942 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1625, allocations: 178.7 kB / 0.6944 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1626, allocations: 5.469 kB / 0.6944 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.1626, allocations: 6.781 kB / 0.6944 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.1629, allocations: 66.97 kB / 0.6945 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1629, allocations: 3.938 kB / 0.6945 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.163, allocations: 1.156 kB / 0.6945 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.163, allocations: 4 kB / 0.6945 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.1633, allocations: 64.39 kB / 0.6946 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1637, allocations: 270.3 kB / 0.6948 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.164, allocations: 60.69 kB / 0.6949 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.1641, allocations: 35.98 kB / 0.6949 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1642, allocations: 0 / 0.6949 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.1642, allocations: 40.12 kB / 0.6949 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1642, allocations: 0 / 0.6949 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006003/0.1648, allocations: 133.5 kB / 0.6951 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.1649, allocations: 52.66 kB / 0.6951 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.165, allocations: 107.2 kB / 0.6952 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.165, allocations: 25.7 kB / 0.6952 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.1651, allocations: 90.84 kB / 0.6953 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.1651, allocations: 8.781 kB / 0.6953 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.1652, allocations: 21.47 kB / 0.6954 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1654, allocations: 310.8 kB / 0.6957 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.1656, allocations: 34.3 kB / 0.6957 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1657, allocations: 30.28 kB / 0.6957 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.166, allocations: 79.27 kB / 0.6958 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.166, allocations: 0 / 0.6958 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003563/0.1664, allocations: 101.3 kB / 0.6959 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1665, allocations: 4.688 kB / 0.6959 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1665, allocations: 2.281 kB / 0.6959 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1665, allocations: 4 kB / 0.6959 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1667, allocations: 22.06 kB / 0.6959 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1667, allocations: 0 / 0.6959 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/0.1668, allocations: 10.86 kB / 0.6959 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1668, allocations: 1.375 kB / 0.6959 GB, free: 9.938 MB / 0.5137 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.0001135/0.1669, allocations: 115.2 kB / 0.696 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1669, allocations: 2.75 kB / 0.696 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.1673, allocations: 112 kB / 0.6962 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1674, allocations: 0 / 0.6962 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1674, allocations: 1.375 kB / 0.6962 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1674, allocations: 0 / 0.6962 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.1676, allocations: 177.8 kB / 0.6963 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1676, allocations: 0 / 0.6963 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/0.1677, allocations: 13.61 kB / 0.6963 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1677, allocations: 5.375 kB / 0.6963 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1678, allocations: 0 / 0.6963 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1678, allocations: 1.375 kB / 0.6963 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1678, allocations: 4 kB / 0.6963 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.1682, allocations: 200.6 kB / 0.6965 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1682, allocations: 86.42 kB / 0.6966 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1683, allocations: 3.938 kB / 0.6966 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1684, allocations: 10.86 kB / 0.6966 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1684, allocations: 6.734 kB / 0.6966 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1684, allocations: 0 / 0.6966 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.1685, allocations: 86.16 kB / 0.6967 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1685, allocations: 0 / 0.6967 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002148/0.1687, allocations: 6.875 kB / 0.6967 GB, free: 9.141 MB / 0.5137 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.000813/0.1695, allocations: 0.731 MB / 0.6974 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.1699, allocations: 74.36 kB / 0.6975 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1699, allocations: 0 / 0.6975 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.1701, allocations: 36.58 kB / 0.6976 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.1705, allocations: 8.672 kB / 0.6976 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.171, allocations: 155.2 kB / 0.6977 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.1713, allocations: 0.6796 MB / 0.6984 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.1713, allocations: 1.75 kB / 0.6984 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.1714, allocations: 18.17 kB / 0.6984 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1714, allocations: 3.938 kB / 0.6984 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.1937, allocations: 1.626 MB / 0.7 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.148, allocations: 7.969 kB / 0.7 GB, free: 6.539 MB / 0.5137 GB " [Timeout remaining time 651] (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: 11.877617174061015] Failed to read output from testmodel.py, exit status != 0: 8.51821143203415 8.228756246 8.064795 Calling exit ...