Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008081/0.0008081, 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.0008287/0.0008287, 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.874/0.874, allocations: 177.2 MB / 202.8 MB, free: 5.766 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.714/0.714, allocations: 154.7 MB / 413.9 MB, free: 0.7461 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.MatrixMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IDEAS_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.001402/0.001402, allocations: 66.61 kB / 0.6184 GB, free: 13.5 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.4437/0.4451, allocations: 102 MB / 0.7179 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001526/0.4466, allocations: 0.7109 MB / 0.7186 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002456/0.4469, allocations: 52.86 kB / 0.7187 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.4469, allocations: 5.156 kB / 0.7187 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.4471, allocations: 24.08 kB / 0.7187 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/0.4471, allocations: 11.06 kB / 0.7187 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.4473, allocations: 40.19 kB / 0.7188 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.4474, allocations: 114.5 kB / 0.7189 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.4476, allocations: 98.17 kB / 0.719 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.4477, allocations: 100.3 kB / 0.7191 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/0.4478, allocations: 79.39 kB / 0.7191 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.4479, allocations: 11.78 kB / 0.7192 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/0.4479, allocations: 12.12 kB / 0.7192 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.4479, allocations: 57.69 kB / 0.7192 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.448, allocations: 60.3 kB / 0.7193 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.4482, allocations: 256.6 kB / 0.7195 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4482, allocations: 0.6562 kB / 0.7195 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.845e-06/0.4483, allocations: 1.125 kB / 0.7195 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.4483, allocations: 0 / 0.7195 GB, free: 22.45 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.0004016/0.4487, allocations: 439.5 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4487, allocations: 11 kB / 0.72 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.4487, allocations: 55.48 kB / 0.72 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.4488, allocations: 24.61 kB / 0.72 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.449, allocations: 197.5 kB / 0.7202 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.449, allocations: 12.38 kB / 0.7202 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.449, allocations: 20.09 kB / 0.7203 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.4494, allocations: 344.8 kB / 0.7206 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4495, allocations: 0 / 0.7206 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4495, allocations: 10.25 kB / 0.7206 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.4495, allocations: 12.45 kB / 0.7206 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.4498, allocations: 263.8 kB / 0.7209 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000925/0.4507, allocations: 1.03 MB / 0.7219 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.599e-05/0.4508, allocations: 178.2 kB / 0.722 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.4508, allocations: 81.77 kB / 0.7221 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.4508, allocations: 76.16 kB / 0.7222 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.4508, allocations: 111.9 kB / 0.7223 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.4508, allocations: 0 / 0.7223 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.84e-05/0.4509, allocations: 57.56 kB / 0.7223 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.4509, allocations: 127.8 kB / 0.7225 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.4514, allocations: 0.4958 MB / 0.7229 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/0.4514, allocations: 25.7 kB / 0.723 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.4515, allocations: 169.6 kB / 0.7231 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.4515, allocations: 0 / 0.7231 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.4515, allocations: 33.91 kB / 0.7232 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.958e-05/0.4516, allocations: 342.6 kB / 0.7235 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.4516, allocations: 47.62 kB / 0.7235 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/0.4517, allocations: 92.2 kB / 0.7236 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.4518, allocations: 111.7 kB / 0.7237 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4518, allocations: 0 / 0.7237 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002561/0.4521, allocations: 188.8 kB / 0.7239 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4521, allocations: 9.594 kB / 0.7239 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4521, allocations: 2.094 kB / 0.7239 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4521, allocations: 2.891 kB / 0.7239 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.4522, allocations: 18.66 kB / 0.7239 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.4522, allocations: 7.172 kB / 0.7239 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.4523, allocations: 39.33 kB / 0.724 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.4523, allocations: 7.312 kB / 0.724 GB, free: 19.33 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.0001092/0.4524, allocations: 246.9 kB / 0.7242 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.4525, allocations: 132.2 kB / 0.7244 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.4525, allocations: 137.5 kB / 0.7245 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.4525, allocations: 181.3 kB / 0.7247 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/0.4526, allocations: 186.1 kB / 0.7248 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.4526, allocations: 178.3 kB / 0.725 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.4528, allocations: 449.5 kB / 0.7254 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.4528, allocations: 103 kB / 0.7255 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.4528, allocations: 108 kB / 0.7256 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.009e-05/0.4528, allocations: 190.5 kB / 0.7258 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.4528, allocations: 178.4 kB / 0.726 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.498e-05/0.4528, allocations: 189.9 kB / 0.7262 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/0.4528, allocations: 178.9 kB / 0.7263 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.983e-05/0.4529, allocations: 328.1 kB / 0.7267 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.453, allocations: 145 kB / 0.7268 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.453, allocations: 186.2 kB / 0.727 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.4531, allocations: 107.8 kB / 0.7271 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.4531, allocations: 179 kB / 0.7272 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.4531, allocations: 107.3 kB / 0.7273 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002817/0.4534, allocations: 362.1 kB / 0.7277 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4534, allocations: 0 / 0.7277 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000189/0.4536, allocations: 24.56 kB / 0.7277 GB, free: 15.77 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.0001951/0.4537, allocations: 0.8336 MB / 0.7285 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.4539, allocations: 70.55 kB / 0.7286 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4539, allocations: 0 / 0.7286 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.4539, allocations: 1.188 kB / 0.7286 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4543, allocations: 481.8 kB / 0.7291 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.4569, allocations: 3.282 MB / 0.7323 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.457, allocations: 160.1 kB / 0.7324 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.239e-05/0.4571, allocations: 52.11 kB / 0.7325 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.4572, allocations: 64.02 kB / 0.7325 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.4572, allocations: 0 / 0.7325 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.4796, allocations: 5.331 MB / 0.7377 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.665/7.145, allocations: 19.53 kB / 0.7377 GB, free: 11.31 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.852678766008466] Failed to read output from testmodel.py, exit status != 0: 7.223519411985762 7.232067142 6.781955505 Calling exit ...