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.0007812/0.0007812, 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.0008304/0.0008304, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9039/0.9039, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7262/0.7262, allocations: 154.6 MB / 413.8 MB, free: 0.7656 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: Performance of FrontEnd - loaded program: time 3.987e-06/3.987e-06, allocations: 0 / 0.6182 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.934e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00151/0.001539, allocations: 0.7128 MB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002344/0.001774, allocations: 51.78 kB / 0.6189 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.001827, allocations: 4 kB / 0.6189 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.001987, allocations: 19.84 kB / 0.6189 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.002041, allocations: 15.92 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.002227, allocations: 23.97 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.002426, allocations: 127.6 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.002634, allocations: 88.83 kB / 0.6192 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.002728, allocations: 99.78 kB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.002811, allocations: 63.88 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.002852, allocations: 16 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.002871, allocations: 12 kB / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.002944, allocations: 55.72 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.003, allocations: 51.84 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.003229, allocations: 235.2 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003232, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.383e-06/0.003233, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.003238, allocations: 0 / 0.6197 GB, free: 11.99 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.0004552/0.003694, allocations: 425.7 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.00374, allocations: 12.03 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.003789, allocations: 62.72 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.003828, allocations: 24.8 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.004039, allocations: 205.3 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.004053, allocations: 12.75 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.004084, allocations: 20.38 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.004445, allocations: 333.6 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.004457, allocations: 192 / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.004474, allocations: 12.3 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.004504, allocations: 19.92 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.004743, allocations: 259.9 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008471/0.005591, allocations: 1.03 MB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.014e-05/0.005661, allocations: 177.1 kB / 0.6222 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.005695, allocations: 80.14 kB / 0.6223 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.005716, allocations: 75.28 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.00575, allocations: 109.8 kB / 0.6225 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.005751, allocations: 0 / 0.6225 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.147e-05/0.005823, allocations: 53.52 kB / 0.6225 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.005875, allocations: 130.6 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.006263, allocations: 0.4964 MB / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.006273, allocations: 29.64 kB / 0.6231 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/0.006369, allocations: 171.9 kB / 0.6233 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.006372, allocations: 4 kB / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.006415, allocations: 29.7 kB / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000298/0.006713, allocations: 342.8 kB / 0.6237 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.006763, allocations: 47.95 kB / 0.6237 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.006833, allocations: 89.97 kB / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.006934, allocations: 109.9 kB / 0.6239 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006936, allocations: 0 / 0.6239 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002308/0.007166, allocations: 185.3 kB / 0.6241 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.007181, allocations: 4 kB / 0.6241 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.007188, allocations: 4 kB / 0.6241 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.007205, allocations: 0 / 0.6241 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.007292, allocations: 27.86 kB / 0.6241 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.007301, allocations: 4.219 kB / 0.6241 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.381e-05/0.007365, allocations: 47.66 kB / 0.6242 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.007379, allocations: 11.94 kB / 0.6242 GB, free: 7.156 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.0001267/0.007506, allocations: 246.1 kB / 0.6244 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.007558, allocations: 124.8 kB / 0.6245 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.007612, allocations: 142.7 kB / 0.6247 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.356e-05/0.007655, allocations: 180.3 kB / 0.6248 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.694e-05/0.007702, allocations: 188.2 kB / 0.625 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.361e-05/0.007746, allocations: 180.2 kB / 0.6252 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.007943, allocations: 444.2 kB / 0.6256 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/0.007975, allocations: 108.9 kB / 0.6257 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.008002, allocations: 109.1 kB / 0.6258 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.124e-05/0.008043, allocations: 180.2 kB / 0.626 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.008089, allocations: 184.2 kB / 0.6262 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-05/0.008128, allocations: 180.3 kB / 0.6263 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.276e-05/0.008171, allocations: 184.1 kB / 0.6265 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.008287, allocations: 335.6 kB / 0.6268 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.00835, allocations: 132.8 kB / 0.627 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.008408, allocations: 188.2 kB / 0.6271 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.51e-05/0.008474, allocations: 112.9 kB / 0.6272 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.00852, allocations: 180.2 kB / 0.6274 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.008546, allocations: 112.9 kB / 0.6275 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002437/0.00879, allocations: 363 kB / 0.6279 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.00879, allocations: 0 / 0.6279 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001892/0.008979, allocations: 24 kB / 0.6279 GB, free: 3.145 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.0003177/0.009297, allocations: 0.8243 MB / 0.6287 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.009412, allocations: 59.89 kB / 0.6288 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.009414, allocations: 4 kB / 0.6288 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.009416, allocations: 4.375 kB / 0.6288 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.009924, allocations: 484.8 kB / 0.6292 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.01253, allocations: 3.3 MB / 0.6325 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.456e-05/0.01262, allocations: 160.2 kB / 0.6326 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.775e-05/0.01269, allocations: 53.61 kB / 0.6327 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.01276, allocations: 60.48 kB / 0.6327 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/0.01277, allocations: 4 kB / 0.6327 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.03554, allocations: 5.344 MB / 0.6379 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.051, allocations: 10.81 kB / 0.6379 GB, free: 8.84 MB / 0.6042 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.85131408367306] Failed to read output from testmodel.py, exit status != 0: 7.133669010363519 7.144002613 7.137383169 Calling exit ...