Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001157/0.001157, 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.001345/0.001345, allocations: 162 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.8685/0.8685, 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.7192/0.7192, allocations: 154.9 MB / 414.2 MB, free: 0.5117 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.MatrixMin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin",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.00132/0.00132, allocations: 71.89 kB / 0.6187 GB, free: 13.25 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.4289/0.4302, allocations: 102 MB / 0.7183 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001634/0.4318, allocations: 0.7211 MB / 0.719 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002371/0.4321, allocations: 53.69 kB / 0.719 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.4321, allocations: 6.031 kB / 0.719 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.4322, allocations: 22.84 kB / 0.719 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.532e-05/0.4323, allocations: 12.53 kB / 0.7191 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.4324, allocations: 27.48 kB / 0.7191 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.4326, allocations: 118.8 kB / 0.7192 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.4328, allocations: 91.03 kB / 0.7193 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.4329, allocations: 103.1 kB / 0.7194 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.433, allocations: 83.72 kB / 0.7195 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.433, allocations: 12.19 kB / 0.7195 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.635e-05/0.4331, allocations: 11.06 kB / 0.7195 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.4331, allocations: 55.8 kB / 0.7195 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.4332, allocations: 60.98 kB / 0.7196 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.4335, allocations: 257.6 kB / 0.7198 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4335, allocations: 4.516 kB / 0.7198 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.507e-06/0.4335, allocations: 1.344 kB / 0.7198 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.4335, allocations: 0 / 0.7198 GB, free: 22.21 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005444/0.4341, allocations: 433.1 kB / 0.7203 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.4341, allocations: 11.12 kB / 0.7203 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/0.4342, allocations: 61.91 kB / 0.7203 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.4343, allocations: 23.98 kB / 0.7204 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.4345, allocations: 202.1 kB / 0.7205 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.4345, allocations: 12.59 kB / 0.7206 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.4345, allocations: 19.61 kB / 0.7206 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.4349, allocations: 351.8 kB / 0.7209 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4349, allocations: 7.984 kB / 0.7209 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.4349, allocations: 6.125 kB / 0.7209 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.435, allocations: 14.14 kB / 0.7209 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.4352, allocations: 266.7 kB / 0.7212 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008227/0.4361, allocations: 1.028 MB / 0.7222 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/0.4361, allocations: 175.2 kB / 0.7224 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.4361, allocations: 84.73 kB / 0.7224 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.4361, allocations: 76.19 kB / 0.7225 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.4361, allocations: 116.7 kB / 0.7226 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.442e-06/0.4362, allocations: 0 / 0.7226 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.334e-05/0.4362, allocations: 60.83 kB / 0.7227 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.4363, allocations: 129.4 kB / 0.7228 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.4367, allocations: 0.4962 MB / 0.7233 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-06/0.4367, allocations: 29.7 kB / 0.7233 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.4367, allocations: 174 kB / 0.7235 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-06/0.4367, allocations: 5.797 kB / 0.7235 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.4368, allocations: 34.11 kB / 0.7235 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.4368, allocations: 336 kB / 0.7238 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.4369, allocations: 50.67 kB / 0.7239 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.437, allocations: 102.6 kB / 0.724 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.857e-05/0.4371, allocations: 117.8 kB / 0.7241 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4371, allocations: 1.031 kB / 0.7241 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00023/0.4373, allocations: 197.3 kB / 0.7243 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4373, allocations: 10.75 kB / 0.7243 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4373, allocations: 1.406 kB / 0.7243 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4373, allocations: 4.047 kB / 0.7243 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.4374, allocations: 21.66 kB / 0.7243 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4374, allocations: 4.453 kB / 0.7243 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.925e-05/0.4375, allocations: 35.02 kB / 0.7244 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.4375, allocations: 8.281 kB / 0.7244 GB, free: 19.05 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 9.716e-05/0.4376, allocations: 251.7 kB / 0.7246 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.4376, allocations: 132.6 kB / 0.7247 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.4377, allocations: 141 kB / 0.7249 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.4377, allocations: 178 kB / 0.725 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.4377, allocations: 178.6 kB / 0.7252 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4377, allocations: 182.7 kB / 0.7254 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.4379, allocations: 449.4 kB / 0.7258 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.4379, allocations: 106.9 kB / 0.7259 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.206e-05/0.4379, allocations: 108.1 kB / 0.726 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/0.4379, allocations: 182.5 kB / 0.7262 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.4379, allocations: 182.3 kB / 0.7264 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/0.4379, allocations: 178.7 kB / 0.7265 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.678e-05/0.4379, allocations: 190.6 kB / 0.7267 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.826e-05/0.438, allocations: 320 kB / 0.727 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.4381, allocations: 153.6 kB / 0.7272 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.4381, allocations: 179.9 kB / 0.7273 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.4382, allocations: 108.7 kB / 0.7275 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.4382, allocations: 182.2 kB / 0.7276 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4382, allocations: 106.7 kB / 0.7277 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002674/0.4385, allocations: 368.5 kB / 0.7281 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4385, allocations: 0 / 0.7281 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001771/0.4386, allocations: 25.31 kB / 0.7281 GB, free: 15.48 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.000203/0.4388, allocations: 0.8335 MB / 0.7289 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.439, allocations: 65.08 kB / 0.729 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.439, allocations: 0 / 0.729 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.439, allocations: 3.938 kB / 0.729 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.4393, allocations: 487.4 kB / 0.7294 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.4417, allocations: 3.311 MB / 0.7327 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.4418, allocations: 166.2 kB / 0.7328 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.334e-05/0.4419, allocations: 49.39 kB / 0.7329 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.4419, allocations: 64.41 kB / 0.7329 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.4419, allocations: 0 / 0.7329 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.4612, allocations: 5.369 MB / 0.7382 GB, free: 11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.481, allocations: 4 kB / 0.7382 GB, free: 11 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin_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_MatrixMin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.226866762037389] Failed to read output from testmodel.py, exit status != 0: 7.560098781948909 7.56961897 7.13416571 Calling exit ...