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.0008635/0.0008635, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008003/0.0008003, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8963/0.8963, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7375/0.7375, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.502e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001502/0.001527, allocations: 0.6765 MB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.002486, allocations: 0.8664 MB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.002525, allocations: 4 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.00256, allocations: 3.938 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.78e-05/0.002638, allocations: 7.922 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.002861, allocations: 23.91 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.421e-05/0.002955, allocations: 47.86 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.003056, allocations: 7.984 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.003138, allocations: 23.97 kB / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.00318, allocations: 19.92 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.003201, allocations: 4 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.024e-05/0.003251, allocations: 4 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.003268, allocations: 11.98 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.00329, allocations: 11.94 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.003415, allocations: 51.84 kB / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003418, allocations: 0 / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003419, allocations: 0 / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.003424, allocations: 4 kB / 0.6198 GB, free: 11.83 MB / 0.5886 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.0004098/0.003834, allocations: 290.2 kB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.003878, allocations: 9.469 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.234e-05/0.00391, allocations: 34.75 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.003984, allocations: 4.891 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.029e-05/0.004064, allocations: 113.7 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.004076, allocations: 16.31 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.004084, allocations: 384 / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.004249, allocations: 74.2 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.004257, allocations: 192 / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.004268, allocations: 8.359 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.004274, allocations: 4.125 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.004409, allocations: 63.92 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.004717, allocations: 224 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.004846, allocations: 62.53 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.004919, allocations: 32.92 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.004943, allocations: 3.938 kB / 0.6207 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.004964, allocations: 34.56 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.004965, allocations: 0 / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003118/0.005277, allocations: 133.5 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.005309, allocations: 51.41 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.005381, allocations: 109.8 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.005392, allocations: 25.7 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.005434, allocations: 88.09 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.005456, allocations: 15.88 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.005485, allocations: 13.72 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004165/0.005901, allocations: 322.8 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.005981, allocations: 35.95 kB / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.006047, allocations: 31.97 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.006182, allocations: 64.78 kB / 0.6216 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.006185, allocations: 0 / 0.6216 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001728/0.006358, allocations: 109.5 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.006372, allocations: 8 kB / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.006376, allocations: 0 / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.00639, allocations: 0 / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.006473, allocations: 19.97 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.006478, allocations: 4 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.006513, allocations: 11.98 kB / 0.6218 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.00652, allocations: 4 kB / 0.6218 GB, free: 9.648 MB / 0.5886 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.174e-05/0.006582, allocations: 106.8 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.006595, allocations: 7.938 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.006795, allocations: 105.5 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.006797, allocations: 7.938 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.006802, allocations: 4 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.006805, allocations: 0 / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.006909, allocations: 140.7 kB / 0.6221 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.006911, allocations: 0 / 0.6221 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.006954, allocations: 20.3 kB / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.006957, allocations: 0 / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.006964, allocations: 0 / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.006966, allocations: 4 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006967, allocations: 0 / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.007153, allocations: 203.4 kB / 0.6223 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-06/0.00716, allocations: 3.938 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.007171, allocations: 4 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.007217, allocations: 11.98 kB / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.007251, allocations: 3.984 kB / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.007255, allocations: 7.938 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.946e-05/0.007285, allocations: 83.28 kB / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007285, allocations: 0 / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001444/0.007429, allocations: 12 kB / 0.6225 GB, free: 8.855 MB / 0.5886 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.0003717/0.007801, allocations: 0.7241 MB / 0.6232 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.00798, allocations: 71.86 kB / 0.6232 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007982, allocations: 4 kB / 0.6232 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.008051, allocations: 35.95 kB / 0.6233 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.008283, allocations: 10.12 kB / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.008635, allocations: 150.6 kB / 0.6234 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.008677, allocations: 67.28 kB / 0.6235 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.008698, allocations: 4 kB / 0.6235 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.008738, allocations: 16.5 kB / 0.6235 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of SimCode: time 4.3e-07/0.008739, allocations: 0 / 0.6235 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.02334, allocations: 2.329 MB / 0.6258 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.843/6.867, allocations: 3.516 kB / 0.6258 GB, free: 5.516 MB / 0.5886 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: 9.751943025738] Failed to read output from testmodel.py, exit status != 0: 6.947956494987011 6.96252975 6.956258069 Calling exit ...