Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.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.0007948/0.0007948, 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.0008299/0.0008299, 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.8846/0.8846, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7323/0.7323, allocations: 154.6 MB / 413.8 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Atan,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.363e-05, allocations: 5.375 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001371/0.001395, allocations: 0.6471 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.002191, allocations: 0.8432 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.002222, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.002251, allocations: 3.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.601e-05/0.002307, allocations: 7.922 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.002494, allocations: 15.92 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.993e-05/0.002564, allocations: 23.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.002657, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.002728, allocations: 23.86 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.686e-05/0.002765, allocations: 8 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.002781, allocations: 3.938 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.013e-05/0.002831, allocations: 11.98 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.002844, allocations: 3.984 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.00286, allocations: 4 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.993e-05/0.00296, allocations: 23.91 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.002964, allocations: 4 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.202e-06/0.002965, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.002969, allocations: 0 / 0.6198 GB, free: 11.96 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003444/0.003313, allocations: 262.3 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.003354, allocations: 8.031 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.003387, allocations: 38.73 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.003454, allocations: 8.891 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.357e-05/0.003527, allocations: 109.8 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.003538, allocations: 384 / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.003545, allocations: 384 / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.003672, allocations: 50.23 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.003678, allocations: 192 / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.003687, allocations: 4.312 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.003692, allocations: 8.125 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.9e-05/0.003781, allocations: 35.95 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.004091, allocations: 212.1 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.339e-05/0.004184, allocations: 34.56 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.004231, allocations: 24.89 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.004248, allocations: 0 / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.004273, allocations: 42.44 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.004274, allocations: 4 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002194/0.004493, allocations: 81.59 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.004522, allocations: 51.41 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.585e-05/0.004577, allocations: 97.86 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.004589, allocations: 29.7 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.004626, allocations: 88.12 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.004643, allocations: 3.953 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.004668, allocations: 17.84 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.004746, allocations: 310.8 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.407e-05/0.00479, allocations: 15.98 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.004827, allocations: 23.91 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.004905, allocations: 36.83 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.004909, allocations: 7.938 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/0.005015, allocations: 69.66 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.005029, allocations: 8 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.005035, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.005046, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.005115, allocations: 11.92 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.005121, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.005145, allocations: 7.938 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.00515, allocations: 0 / 0.6214 GB, free: 10.09 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 (2): * Single equations (assignments): 2 * 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.458e-05/0.005215, allocations: 118.8 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.005231, allocations: 7.875 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.005373, allocations: 76.92 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.005376, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.00538, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005382, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.005484, allocations: 124.8 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005486, allocations: 0 / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.005515, allocations: 20.02 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.005518, allocations: 3.938 kB / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.005524, allocations: 0 / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.005525, allocations: 0 / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.005526, allocations: 0 / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.005658, allocations: 167.6 kB / 0.6219 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-06/0.005667, allocations: 11.92 kB / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.005676, allocations: 0 / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.005715, allocations: 8.031 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.005753, allocations: 3.984 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.005758, allocations: 4 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.015e-05/0.005788, allocations: 75.28 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005788, allocations: 0 / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001487/0.005937, allocations: 8 kB / 0.622 GB, free: 9.398 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 (2): * Single equations (assignments): 2 * 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.0003484/0.006285, allocations: 0.6929 MB / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.006416, allocations: 39.94 kB / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.006418, allocations: 0 / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.006459, allocations: 19.98 kB / 0.6227 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.006717, allocations: 7.984 kB / 0.6227 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.00711, allocations: 130.5 kB / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.521e-05/0.007165, allocations: 59.48 kB / 0.6229 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.007189, allocations: 11.98 kB / 0.6229 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.007226, allocations: 8.5 kB / 0.6229 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of SimCode: time 7.21e-07/0.007227, allocations: 3.938 kB / 0.6229 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.02382, allocations: 1.929 MB / 0.6248 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.017, allocations: 5.031 kB / 0.6248 GB, free: 6.547 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.793770159594715] Failed to read output from testmodel.py, exit status != 0: 7.097558557055891 7.107525577 7.102834057 Calling exit ...