Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007739/0.0007739, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001046/0.001046, allocations: 209.7 kB / 22.24 MB, free: 3.57 MB / 13.93 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.9814/0.9814, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8092/0.8092, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009346/0.0009346, allocations: 67.48 kB / 0.7182 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5281/0.5291, allocations: 102 MB / 0.8178 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001532/0.5306, allocations: 0.6888 MB / 0.8185 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008276/0.5314, allocations: 0.8563 MB / 0.8193 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.5315, allocations: 0 / 0.8193 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.5315, allocations: 4.547 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.5316, allocations: 12.53 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.5318, allocations: 20.77 kB / 0.8194 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.926e-05/0.5319, allocations: 50.53 kB / 0.8194 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.532, allocations: 11.36 kB / 0.8194 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.532, allocations: 16.33 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.5321, allocations: 23.31 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.5321, allocations: 2.25 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.978e-05/0.5321, allocations: 14.38 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.5322, allocations: 5.828 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.5322, allocations: 13.3 kB / 0.8195 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.5323, allocations: 53.62 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5323, allocations: 0.5625 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5323, allocations: 0 / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5323, allocations: 4 kB / 0.8196 GB, free: 15.76 MB / 0.6198 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.0003902/0.5327, allocations: 287.8 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.5328, allocations: 10.39 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.5328, allocations: 37.3 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.5329, allocations: 8.781 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.216e-05/0.533, allocations: 113.2 kB / 0.82 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.533, allocations: 384 / 0.82 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.533, allocations: 0.9375 kB / 0.82 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.5332, allocations: 80.66 kB / 0.8201 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.5332, allocations: 3.938 kB / 0.8201 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.5332, allocations: 4.391 kB / 0.8201 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5332, allocations: 0 / 0.8201 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.5333, allocations: 61.81 kB / 0.8202 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.5337, allocations: 234.9 kB / 0.8204 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.5338, allocations: 62.7 kB / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.5339, allocations: 40.39 kB / 0.8205 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.5339, allocations: 0.5625 kB / 0.8205 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.5339, allocations: 34.34 kB / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.5339, allocations: 0 / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003359/0.5342, allocations: 129.8 kB / 0.8206 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.5343, allocations: 52.66 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.5343, allocations: 119.3 kB / 0.8208 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.5343, allocations: 28.2 kB / 0.8208 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.5344, allocations: 85.45 kB / 0.8209 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.5344, allocations: 10.31 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.5344, allocations: 18.38 kB / 0.8209 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.5345, allocations: 314.9 kB / 0.8212 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.5346, allocations: 35.84 kB / 0.8213 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.5347, allocations: 28.69 kB / 0.8213 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.5348, allocations: 71.75 kB / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5348, allocations: 0 / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001775/0.535, allocations: 100.5 kB / 0.8215 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.535, allocations: 3.844 kB / 0.8215 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.535, allocations: 3.938 kB / 0.8215 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.535, allocations: 1.562 kB / 0.8215 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.5351, allocations: 15.55 kB / 0.8215 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.5351, allocations: 8 kB / 0.8215 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.5352, allocations: 19.45 kB / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.5352, allocations: 2.688 kB / 0.8215 GB, free: 14.12 MB / 0.6198 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 6.449e-05/0.5352, allocations: 118.6 kB / 0.8216 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.5352, allocations: 4.656 kB / 0.8216 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.5355, allocations: 105.1 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5355, allocations: 0 / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.5355, allocations: 6.266 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.5355, allocations: 0 / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.5356, allocations: 135 kB / 0.8219 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5356, allocations: 0 / 0.8219 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.5357, allocations: 20.16 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.5357, allocations: 0 / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.5357, allocations: 4.516 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.5357, allocations: 0 / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5357, allocations: 0.5156 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.5359, allocations: 200.2 kB / 0.8221 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.5359, allocations: 2.406 kB / 0.8221 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.5359, allocations: 4.047 kB / 0.8221 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.536, allocations: 20.95 kB / 0.8221 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.536, allocations: 2.578 kB / 0.8221 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.536, allocations: 3.438 kB / 0.8221 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.5361, allocations: 85.98 kB / 0.8222 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5361, allocations: 0 / 0.8222 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001458/0.5362, allocations: 12.61 kB / 0.8222 GB, free: 13.54 MB / 0.6198 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.0004585/0.5367, allocations: 0.7306 MB / 0.8229 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.5369, allocations: 69.83 kB / 0.823 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5369, allocations: 0 / 0.823 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.937e-05/0.537, allocations: 38.77 kB / 0.823 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.5372, allocations: 9.797 kB / 0.823 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.5376, allocations: 159.3 kB / 0.8232 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.442e-05/0.5376, allocations: 64.39 kB / 0.8232 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.5377, allocations: 4.656 kB / 0.8232 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.5377, allocations: 21.44 kB / 0.8233 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.5377, allocations: 0 / 0.8233 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.5551, allocations: 2.179 MB / 0.8254 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.572/7.127, allocations: 16.73 kB / 0.8254 GB, free: 11.71 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.244492665864527] Failed to read output from testmodel.py, exit status != 0: 7.207166040781885 7.222794891 6.687963242 Calling exit ...