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.0008433/0.0008433, allocations: 76.45 kB / 19.93 MB, free: 4.625 MB / 18.57 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.0008194/0.0008194, allocations: 173.9 kB / 23.21 MB, free: 1.344 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.8847/0.8847, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.5383/0.5383, allocations: 114 MB / 373.9 MB, free: 8.688 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0 / 0.5543 GB, free: 1.621 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.803e-05, allocations: 2.281 kB / 0.5543 GB, free: 1.617 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001329/0.001347, allocations: 0.6815 MB / 0.5549 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.002268, allocations: 0.8627 MB / 0.5558 GB, free: 64 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.002306, allocations: 4 kB / 0.5558 GB, free: 60 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.002332, allocations: 0 / 0.5558 GB, free: 60 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.144e-05/0.002393, allocations: 11.86 kB / 0.5558 GB, free: 48 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.002579, allocations: 19.92 kB / 0.5558 GB, free: 28 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.948e-05/0.002668, allocations: 51.91 kB / 0.5558 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.002764, allocations: 4 kB / 0.5558 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.002839, allocations: 27.91 kB / 0.5559 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.002879, allocations: 19.97 kB / 0.5559 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.002895, allocations: 8 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.641e-05/0.002942, allocations: 4 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.002961, allocations: 15.92 kB / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.002979, allocations: 8 kB / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.003094, allocations: 55.78 kB / 0.556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.003097, allocations: 0 / 0.556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.003098, allocations: 0 / 0.556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.003101, allocations: 0 / 0.556 GB, free: 15.83 MB / 490.7 MB 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.0003669/0.003468, allocations: 283 kB / 0.5563 GB, free: 15.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.003508, allocations: 12.03 kB / 0.5563 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.00354, allocations: 42.73 kB / 0.5563 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.00361, allocations: 4.891 kB / 0.5563 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.071e-05/0.003701, allocations: 109.7 kB / 0.5564 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.003713, allocations: 8.375 kB / 0.5564 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.003723, allocations: 384 / 0.5564 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.00389, allocations: 70.16 kB / 0.5565 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.003898, allocations: 192 / 0.5565 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.003908, allocations: 8.359 kB / 0.5565 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003913, allocations: 8.125 kB / 0.5565 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.004049, allocations: 59.94 kB / 0.5566 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.004318, allocations: 228 kB / 0.5568 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.004428, allocations: 58.48 kB / 0.5568 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.0045, allocations: 40.91 kB / 0.5569 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.004518, allocations: 3.938 kB / 0.5569 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.004535, allocations: 34.56 kB / 0.5569 GB, free: 14.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.004536, allocations: 0 / 0.5569 GB, free: 14.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002952/0.004831, allocations: 129.5 kB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.004861, allocations: 55.41 kB / 0.5571 GB, free: 14.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.004921, allocations: 109.8 kB / 0.5572 GB, free: 14.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.004934, allocations: 29.64 kB / 0.5572 GB, free: 14.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.004971, allocations: 88.09 kB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.004987, allocations: 7.953 kB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.005016, allocations: 17.72 kB / 0.5573 GB, free: 14.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.005094, allocations: 318.8 kB / 0.5576 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.005162, allocations: 31.91 kB / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.005228, allocations: 39.95 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.00536, allocations: 64.78 kB / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005362, allocations: 0 / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001575/0.005519, allocations: 105.5 kB / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.005532, allocations: 8 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.005537, allocations: 0 / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.005549, allocations: 0 / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.005633, allocations: 19.92 kB / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.005639, allocations: 4 kB / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.005672, allocations: 7.984 kB / 0.5579 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.005682, allocations: 7.984 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB 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.434e-05/0.005736, allocations: 105.8 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.005751, allocations: 12.27 kB / 0.558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.005938, allocations: 109.5 kB / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.00594, allocations: 4 kB / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.005944, allocations: 0 / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.005947, allocations: 0 / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.906e-05/0.006046, allocations: 132.8 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006047, allocations: 0 / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.006088, allocations: 31.91 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.006089, allocations: 0 / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.006095, allocations: 3.938 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006095, allocations: 0 / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006096, allocations: 320 / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.006265, allocations: 191.4 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-06/0.006271, allocations: 3.938 kB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.006282, allocations: 11.98 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.865e-05/0.006331, allocations: 11.98 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.00636, allocations: 0 / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.006363, allocations: 4 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.023e-05/0.006393, allocations: 95.23 kB / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006393, allocations: 0 / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001417/0.006535, allocations: 8 kB / 0.5586 GB, free: 12.88 MB / 490.7 MB 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.0003414/0.006876, allocations: 0.7357 MB / 0.5593 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.007049, allocations: 63.92 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.007051, allocations: 7.938 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.007122, allocations: 39.91 kB / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.007316, allocations: 8.766 kB / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.007634, allocations: 154.4 kB / 0.5596 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.007675, allocations: 67.28 kB / 0.5596 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.905e-05/0.007694, allocations: 3.875 kB / 0.5597 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.007729, allocations: 16.5 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007729, allocations: 4 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.02131, allocations: 2.323 MB / 0.5619 GB, free: 9.523 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/6.998, allocations: 3.984 kB / 0.5619 GB, free: 9.52 MB / 490.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.51602937374264] Failed to read output from testmodel.py, exit status != 0: 7.078649655915797 7.086884392 7.082167124 Calling exit ...