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.0008655/0.0008655, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008638/0.0008638, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9182/0.9182, allocations: 177.1 MB / 202.8 MB, free: 5.742 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7319/0.7319, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.467e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00149/0.001515, allocations: 0.7132 MB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002716/0.001786, allocations: 59.75 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.001835, allocations: 3.938 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.00198, allocations: 19.86 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.563e-05/0.002026, allocations: 11.98 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.002204, allocations: 23.95 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.002392, allocations: 135.5 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.002604, allocations: 92.81 kB / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.959e-05/0.002704, allocations: 95.8 kB / 0.6192 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.002786, allocations: 67.86 kB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.002822, allocations: 16 kB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.772e-05/0.00284, allocations: 12 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.0029, allocations: 51.78 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.002948, allocations: 51.84 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.003139, allocations: 235.2 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003141, allocations: 0 / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003143, allocations: 0 / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.003149, allocations: 0 / 0.6196 GB, free: 12.06 MB / 0.5886 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.0004934/0.003643, allocations: 417.7 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.00369, allocations: 13.47 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.003745, allocations: 58.73 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.003787, allocations: 24.8 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.004046, allocations: 205.3 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.004063, allocations: 12.75 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.004087, allocations: 20.38 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.004509, allocations: 341.5 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.004522, allocations: 192 / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.004542, allocations: 4.375 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.004593, allocations: 15.94 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.004857, allocations: 267.8 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.006055, allocations: 1.022 MB / 0.622 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.823e-05/0.006123, allocations: 177.1 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.469e-05/0.006148, allocations: 80.14 kB / 0.6222 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.006168, allocations: 75.28 kB / 0.6223 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.006203, allocations: 105.8 kB / 0.6224 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.006204, allocations: 0 / 0.6224 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.793e-05/0.006282, allocations: 57.45 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.006335, allocations: 134.6 kB / 0.6226 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.006707, allocations: 0.4964 MB / 0.6231 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/0.006716, allocations: 25.7 kB / 0.6231 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.006814, allocations: 175.8 kB / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.006817, allocations: 4 kB / 0.6232 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.00686, allocations: 29.7 kB / 0.6233 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.006966, allocations: 342.8 kB / 0.6236 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.00702, allocations: 47.95 kB / 0.6236 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.007089, allocations: 89.97 kB / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.007201, allocations: 109.8 kB / 0.6238 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.007203, allocations: 0 / 0.6238 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002671/0.00747, allocations: 185.3 kB / 0.624 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.007487, allocations: 4 kB / 0.624 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.007503, allocations: 4 kB / 0.624 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.007524, allocations: 0 / 0.624 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.007648, allocations: 31.8 kB / 0.6241 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.00766, allocations: 4.219 kB / 0.6241 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.00773, allocations: 43.72 kB / 0.6241 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.007751, allocations: 8 kB / 0.6241 GB, free: 7.242 MB / 0.5886 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.0001506/0.007901, allocations: 246.1 kB / 0.6243 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.007972, allocations: 128.8 kB / 0.6245 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.453e-05/0.008037, allocations: 134.8 kB / 0.6246 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.135e-05/0.008088, allocations: 188.2 kB / 0.6248 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.416e-05/0.008142, allocations: 184.2 kB / 0.6249 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-05/0.008189, allocations: 176.3 kB / 0.6251 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.008413, allocations: 448.2 kB / 0.6255 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.832e-05/0.008441, allocations: 105 kB / 0.6256 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.008476, allocations: 113.1 kB / 0.6258 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-05/0.008524, allocations: 180.3 kB / 0.6259 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.008572, allocations: 184.3 kB / 0.6261 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-05/0.008625, allocations: 184.2 kB / 0.6263 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-05/0.008673, allocations: 180.2 kB / 0.6264 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.008805, allocations: 331.6 kB / 0.6268 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.008877, allocations: 136.8 kB / 0.6269 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.008947, allocations: 188.2 kB / 0.6271 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.00902, allocations: 113 kB / 0.6272 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.009067, allocations: 184.1 kB / 0.6274 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.009091, allocations: 101 kB / 0.6275 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002353/0.009327, allocations: 371 kB / 0.6278 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009327, allocations: 0 / 0.6278 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001762/0.009503, allocations: 24 kB / 0.6278 GB, free: 3.23 MB / 0.5886 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.0003084/0.009811, allocations: 0.8242 MB / 0.6286 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.009924, allocations: 59.89 kB / 0.6287 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.009926, allocations: 4 kB / 0.6287 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.009927, allocations: 448 / 0.6287 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.01068, allocations: 492.7 kB / 0.6292 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.01312, allocations: 3.289 MB / 0.6324 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.01322, allocations: 172.1 kB / 0.6325 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.925e-05/0.01329, allocations: 53.61 kB / 0.6326 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.01337, allocations: 60.48 kB / 0.6327 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.856e-06/0.01338, allocations: 0 / 0.6327 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.03473, allocations: 5.356 MB / 0.6379 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/6.941, allocations: 10.08 kB / 0.6379 GB, free: 8.926 MB / 0.6042 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.850466853007674] Failed to read output from testmodel.py, exit status != 0: 7.033295121975243 7.049174479 7.043036821 Calling exit ...