Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.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.0008605/0.0008605, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008655/0.0008655, allocations: 162 kB / 22.43 MB, free: 2.145 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.8884/0.8884, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.7302/0.7302, allocations: 154.7 MB / 413.9 MB, free: 0.75 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.Divide,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide",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.001244/0.001244, allocations: 68.14 kB / 0.6184 GB, free: 13.57 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4466, allocations: 102 MB / 0.7179 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001676/0.4483, allocations: 0.6793 MB / 0.7186 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.4492, allocations: 0.8289 MB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.4492, allocations: 1.188 kB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.4493, allocations: 3.938 kB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.4494, allocations: 6.312 kB / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.541e-05/0.4494, allocations: 14.34 kB / 0.7194 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.253e-05/0.4495, allocations: 39.58 kB / 0.7195 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.4497, allocations: 20.27 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.634e-05/0.4498, allocations: 28.66 kB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.4498, allocations: 18.41 kB / 0.7195 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.4498, allocations: 4.781 kB / 0.7195 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.4498, allocations: 3.375 kB / 0.7196 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.4499, allocations: 14.66 kB / 0.7196 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.4499, allocations: 17.2 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.45, allocations: 42.14 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.45, allocations: 0 / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.756e-06/0.45, allocations: 0.9375 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.45, allocations: 4 kB / 0.7196 GB, free: 22.16 MB / 0.6355 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.0003917/0.4504, allocations: 292.4 kB / 0.7199 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4505, allocations: 9.672 kB / 0.7199 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.608e-05/0.4505, allocations: 32.53 kB / 0.7199 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.4505, allocations: 7.141 kB / 0.72 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.341e-05/0.4506, allocations: 107.4 kB / 0.7201 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4506, allocations: 6.938 kB / 0.7201 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.4506, allocations: 1.656 kB / 0.7201 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.4508, allocations: 76.14 kB / 0.7201 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4508, allocations: 3.938 kB / 0.7201 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.4508, allocations: 5.062 kB / 0.7201 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4508, allocations: 0.8125 kB / 0.7201 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.451, allocations: 62.59 kB / 0.7202 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.4512, allocations: 236.2 kB / 0.7204 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.4514, allocations: 62.2 kB / 0.7205 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.4515, allocations: 36.91 kB / 0.7205 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.4515, allocations: 0.7969 kB / 0.7205 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.4515, allocations: 31.69 kB / 0.7206 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.943e-06/0.4515, allocations: 1.125 kB / 0.7206 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003315/0.4518, allocations: 127.5 kB / 0.7207 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.4518, allocations: 52.47 kB / 0.7207 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.4519, allocations: 108.1 kB / 0.7208 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.4519, allocations: 29.7 kB / 0.7209 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.4519, allocations: 83.8 kB / 0.7209 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.452, allocations: 22.33 kB / 0.721 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.452, allocations: 13.64 kB / 0.721 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.649e-05/0.452, allocations: 317.3 kB / 0.7213 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.4521, allocations: 31.61 kB / 0.7213 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.4522, allocations: 31.41 kB / 0.7213 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.4523, allocations: 74.08 kB / 0.7214 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4524, allocations: 0 / 0.7214 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001899/0.4525, allocations: 102.8 kB / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4526, allocations: 4.969 kB / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4526, allocations: 0 / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4526, allocations: 2.25 kB / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.4527, allocations: 18.05 kB / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4527, allocations: 1.062 kB / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.4527, allocations: 16.27 kB / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4527, allocations: 9.156 kB / 0.7216 GB, free: 20.54 MB / 0.6355 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 4.97e-05/0.4528, allocations: 113.5 kB / 0.7217 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.4528, allocations: 9.812 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.4528, allocations: 6.797 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4528, allocations: 0 / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4528, allocations: 1.031 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4528, allocations: 0.6562 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.72e-05/0.4529, allocations: 138.4 kB / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.4529, allocations: 7.938 kB / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.453, allocations: 14.73 kB / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.453, allocations: 1.625 kB / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.453, allocations: 0 / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.453, allocations: 1.062 kB / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.453, allocations: 0.5156 kB / 0.7218 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.4532, allocations: 202.8 kB / 0.722 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.4532, allocations: 5.766 kB / 0.722 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.4532, allocations: 1.891 kB / 0.722 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.4533, allocations: 11.61 kB / 0.7221 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.4533, allocations: 4.156 kB / 0.7221 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4533, allocations: 0.5156 kB / 0.7221 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.4533, allocations: 88.95 kB / 0.7221 GB, free: 20 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4533, allocations: 0 / 0.7221 GB, free: 20 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001407/0.4535, allocations: 6.031 kB / 0.7221 GB, free: 20 MB / 0.6355 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.0003153/0.4538, allocations: 0.7273 MB / 0.7229 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.454, allocations: 69.94 kB / 0.7229 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.454, allocations: 0 / 0.7229 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.4541, allocations: 38.97 kB / 0.723 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.4543, allocations: 14.31 kB / 0.723 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.4547, allocations: 157.3 kB / 0.7231 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.4547, allocations: 63.92 kB / 0.7232 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.318e-05/0.4548, allocations: 1.562 kB / 0.7232 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.4548, allocations: 20.25 kB / 0.7232 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.4548, allocations: 0 / 0.7232 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.4728, allocations: 2.301 MB / 0.7255 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.557/7.03, allocations: 8.609 kB / 0.7255 GB, free: 18.14 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide_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_Divide.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.820456426008604] Failed to read output from testmodel.py, exit status != 0: 7.1093137309653684 7.120486313 6.668558592 Calling exit ...