Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008222/0.0008222, 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.0009404/0.0009404, 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.8944/0.8944, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.7255/0.7255, allocations: 154.7 MB / 413.9 MB, free: 0.7617 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.MatrixMin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="IDEAS_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.001033/0.001033, allocations: 64.34 kB / 0.6184 GB, free: 13.54 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.4376/0.4387, allocations: 102 MB / 0.718 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001598/0.4403, allocations: 0.717 MB / 0.7187 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002698/0.4405, allocations: 57.06 kB / 0.7187 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.4406, allocations: 3.031 kB / 0.7187 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.4408, allocations: 19.08 kB / 0.7187 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.4408, allocations: 15.91 kB / 0.7187 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.441, allocations: 26.98 kB / 0.7188 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.4412, allocations: 123 kB / 0.7189 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.4414, allocations: 91.52 kB / 0.719 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.4415, allocations: 98.97 kB / 0.7191 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.4416, allocations: 83.95 kB / 0.7191 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.4416, allocations: 12.62 kB / 0.7192 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.449e-05/0.4416, allocations: 17.61 kB / 0.7192 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.45e-05/0.4417, allocations: 58.67 kB / 0.7192 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.4418, allocations: 65.84 kB / 0.7193 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.4421, allocations: 256.1 kB / 0.7195 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4421, allocations: 0 / 0.7195 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.885e-06/0.4421, allocations: 0 / 0.7195 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.4421, allocations: 1.625 kB / 0.7195 GB, free: 22.43 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.000487/0.4426, allocations: 433.5 kB / 0.72 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4426, allocations: 8.812 kB / 0.72 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.4427, allocations: 58.25 kB / 0.72 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.4427, allocations: 27.7 kB / 0.72 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4429, allocations: 198 kB / 0.7202 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.4429, allocations: 12.19 kB / 0.7202 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.443, allocations: 20 kB / 0.7203 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.4434, allocations: 351.5 kB / 0.7206 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4434, allocations: 0.6094 kB / 0.7206 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.4434, allocations: 6.281 kB / 0.7206 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/0.4435, allocations: 12.98 kB / 0.7206 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.4438, allocations: 278.3 kB / 0.7209 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.4448, allocations: 1.037 MB / 0.7219 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.393e-05/0.4448, allocations: 166.4 kB / 0.7221 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.4449, allocations: 85.27 kB / 0.7221 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.4449, allocations: 75.98 kB / 0.7222 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.4449, allocations: 112.3 kB / 0.7223 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.4449, allocations: 0 / 0.7223 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.244e-05/0.445, allocations: 56.8 kB / 0.7224 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.445, allocations: 128.3 kB / 0.7225 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/0.4455, allocations: 0.5046 MB / 0.723 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.4455, allocations: 26.8 kB / 0.723 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.4456, allocations: 174.4 kB / 0.7232 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.4456, allocations: 1.188 kB / 0.7232 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.4456, allocations: 37.14 kB / 0.7232 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.4457, allocations: 341.8 kB / 0.7235 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.4457, allocations: 49.48 kB / 0.7236 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.4458, allocations: 99.23 kB / 0.7237 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.4459, allocations: 122.2 kB / 0.7238 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4459, allocations: 1.188 kB / 0.7238 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002924/0.4462, allocations: 188.8 kB / 0.724 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.4463, allocations: 10.44 kB / 0.724 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4463, allocations: 1.219 kB / 0.724 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.4463, allocations: 3.172 kB / 0.724 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.4464, allocations: 18.92 kB / 0.724 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4464, allocations: 4.391 kB / 0.724 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.4465, allocations: 47.62 kB / 0.7241 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.4465, allocations: 7.312 kB / 0.7241 GB, free: 19.28 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 0.0001222/0.4466, allocations: 247.5 kB / 0.7243 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.4467, allocations: 136.5 kB / 0.7244 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.4467, allocations: 136.4 kB / 0.7246 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.4467, allocations: 177.9 kB / 0.7247 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/0.4468, allocations: 183.1 kB / 0.7249 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.4468, allocations: 178 kB / 0.7251 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.447, allocations: 450.2 kB / 0.7255 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.447, allocations: 106.7 kB / 0.7256 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.447, allocations: 112.1 kB / 0.7257 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.748e-05/0.4471, allocations: 186.7 kB / 0.7259 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.4471, allocations: 178.8 kB / 0.7261 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.483e-05/0.4471, allocations: 181.7 kB / 0.7262 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.328e-05/0.4471, allocations: 182.5 kB / 0.7264 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.251e-05/0.4472, allocations: 324.6 kB / 0.7267 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.4473, allocations: 149.1 kB / 0.7269 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.4473, allocations: 178.8 kB / 0.727 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.973e-05/0.4474, allocations: 113.1 kB / 0.7271 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.4474, allocations: 180 kB / 0.7273 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.4474, allocations: 113.7 kB / 0.7274 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003498/0.4478, allocations: 365.5 kB / 0.7278 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4478, allocations: 0 / 0.7278 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001963/0.448, allocations: 24.72 kB / 0.7278 GB, free: 15.72 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.0003448/0.4483, allocations: 0.8285 MB / 0.7286 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.4485, allocations: 73.42 kB / 0.7287 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4485, allocations: 0 / 0.7287 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.4485, allocations: 1.656 kB / 0.7287 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.4489, allocations: 481.5 kB / 0.7291 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.4519, allocations: 3.306 MB / 0.7324 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.4521, allocations: 172 kB / 0.7325 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000119/0.4522, allocations: 51.81 kB / 0.7326 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.4523, allocations: 63.48 kB / 0.7326 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/0.4523, allocations: 0 / 0.7326 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.4725, allocations: 5.347 MB / 0.7379 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/7.046, allocations: 15.56 kB / 0.7379 GB, free: 11.24 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.791676232940517] Failed to read output from testmodel.py, exit status != 0: 7.124752998934127 7.133343675 6.689538264 Calling exit ...