Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001172/0.001172, 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.001425/0.001425, allocations: 166 kB / 22.43 MB, free: 2.141 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.8938/0.8938, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.711/0.711, allocations: 154.9 MB / 414.2 MB, free: 0.5078 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.MatrixMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.0009784/0.0009784, allocations: 68.59 kB / 0.6187 GB, free: 13.22 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4254, allocations: 102 MB / 0.7183 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001436/0.4268, allocations: 0.7198 MB / 0.719 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002137/0.4271, allocations: 50.69 kB / 0.719 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.4271, allocations: 6.031 kB / 0.719 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.4272, allocations: 16.05 kB / 0.719 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.4273, allocations: 11.06 kB / 0.7191 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.4274, allocations: 24.19 kB / 0.7191 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.4276, allocations: 135.7 kB / 0.7192 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.4278, allocations: 90.34 kB / 0.7193 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.4279, allocations: 96.31 kB / 0.7194 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.4279, allocations: 86.41 kB / 0.7195 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.428, allocations: 11.06 kB / 0.7195 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.428, allocations: 15.11 kB / 0.7195 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.4281, allocations: 51.47 kB / 0.7195 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.4281, allocations: 68.59 kB / 0.7196 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.4284, allocations: 247.5 kB / 0.7198 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4284, allocations: 0.75 kB / 0.7198 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4284, allocations: 4 kB / 0.7198 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4284, allocations: 0 / 0.7198 GB, free: 22.29 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000433/0.4288, allocations: 428 kB / 0.7203 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4289, allocations: 11.64 kB / 0.7203 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.4289, allocations: 60.91 kB / 0.7203 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.4289, allocations: 29.17 kB / 0.7204 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.4291, allocations: 193.5 kB / 0.7205 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.4292, allocations: 19.06 kB / 0.7206 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.4292, allocations: 15.88 kB / 0.7206 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.4296, allocations: 345.1 kB / 0.7209 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4296, allocations: 1.062 kB / 0.7209 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.4296, allocations: 9 kB / 0.7209 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.4296, allocations: 14.33 kB / 0.7209 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.4299, allocations: 262.4 kB / 0.7212 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007919/0.4307, allocations: 1.037 MB / 0.7222 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.072e-05/0.4307, allocations: 167.5 kB / 0.7223 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.205e-05/0.4307, allocations: 80.84 kB / 0.7224 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.4308, allocations: 76.44 kB / 0.7225 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.4308, allocations: 115.6 kB / 0.7226 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.4308, allocations: 0 / 0.7226 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.47e-05/0.4308, allocations: 53.17 kB / 0.7227 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.4309, allocations: 131.7 kB / 0.7228 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.4313, allocations: 0.4959 MB / 0.7233 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-06/0.4313, allocations: 25.7 kB / 0.7233 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.4313, allocations: 173.6 kB / 0.7235 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-06/0.4313, allocations: 1.438 kB / 0.7235 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.4314, allocations: 33.08 kB / 0.7235 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.4314, allocations: 340.7 kB / 0.7238 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.4315, allocations: 45.38 kB / 0.7239 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.155e-05/0.4315, allocations: 104.3 kB / 0.724 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.4316, allocations: 106.3 kB / 0.7241 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4316, allocations: 1.125 kB / 0.7241 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002247/0.4319, allocations: 180.1 kB / 0.7242 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4319, allocations: 16.08 kB / 0.7242 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.4319, allocations: 9.406 kB / 0.7243 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4319, allocations: 2.594 kB / 0.7243 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.432, allocations: 20.11 kB / 0.7243 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.432, allocations: 2.5 kB / 0.7243 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.432, allocations: 38.53 kB / 0.7243 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.4321, allocations: 12.52 kB / 0.7243 GB, free: 19.17 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 0.0001033/0.4322, allocations: 248.2 kB / 0.7246 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.4322, allocations: 132.6 kB / 0.7247 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.4323, allocations: 135.8 kB / 0.7248 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.4323, allocations: 186.1 kB / 0.725 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/0.4323, allocations: 178.8 kB / 0.7252 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.4323, allocations: 178.7 kB / 0.7253 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.4325, allocations: 452.5 kB / 0.7258 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.4325, allocations: 102.5 kB / 0.7259 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.4325, allocations: 112.5 kB / 0.726 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/0.4325, allocations: 182.5 kB / 0.7262 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.4325, allocations: 182.2 kB / 0.7263 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.616e-05/0.4326, allocations: 178.4 kB / 0.7265 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-05/0.4326, allocations: 182.2 kB / 0.7267 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.332e-05/0.4326, allocations: 323.4 kB / 0.727 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.4327, allocations: 154 kB / 0.7271 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.4327, allocations: 182.8 kB / 0.7273 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.563e-05/0.4328, allocations: 107.2 kB / 0.7274 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.4328, allocations: 186.3 kB / 0.7276 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4328, allocations: 103.2 kB / 0.7277 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002948/0.4331, allocations: 363.5 kB / 0.728 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4331, allocations: 0 / 0.728 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001792/0.4333, allocations: 24.06 kB / 0.728 GB, free: 15.61 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 (0): * Single equations (assignments): 0 * 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.0002172/0.4335, allocations: 0.8338 MB / 0.7289 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.4337, allocations: 67.14 kB / 0.7289 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4337, allocations: 3.938 kB / 0.7289 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.4337, allocations: 0 / 0.7289 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.434, allocations: 485.7 kB / 0.7294 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.4364, allocations: 3.276 MB / 0.7326 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.4365, allocations: 170.4 kB / 0.7328 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.19e-05/0.4365, allocations: 52.52 kB / 0.7328 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.4366, allocations: 59.52 kB / 0.7329 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.4366, allocations: 0 / 0.7329 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.4551, allocations: 5.343 MB / 0.7381 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/7.193, allocations: 4.5 kB / 0.7381 GB, free: 11.14 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax_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_MatrixMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.967630567029119] Failed to read output from testmodel.py, exit status != 0: 7.273942744010128 7.284970429 6.85424116 Calling exit ...