Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001361/0.001361, allocations: 105 kB / 20.48 MB, free: 1.488 MB / 14.72 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.001406/0.001406, allocations: 216 kB / 23.79 MB, free: 4.703 MB / 14.72 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 1.446/1.446, allocations: 230.6 MB / 257.6 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9724/0.9724, allocations: 150 MB / 464 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002034/0.002034, allocations: 66.16 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1901, allocations: 89.17 MB / 0.7292 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001952/0.1921, allocations: 0.7352 MB / 0.7299 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002158/0.1923, allocations: 55.83 kB / 0.7299 GB, free: 456 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.1923, allocations: 3.938 kB / 0.7299 GB, free: 452 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.1925, allocations: 19.86 kB / 0.73 GB, free: 432 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.1925, allocations: 11.92 kB / 0.73 GB, free: 420 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.1926, allocations: 27.95 kB / 0.73 GB, free: 392 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1928, allocations: 119.7 kB / 0.7301 GB, free: 272 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.193, allocations: 100.8 kB / 0.7302 GB, free: 168 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.1931, allocations: 63.8 kB / 0.7303 GB, free: 104 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.229e-05/0.1932, allocations: 75.64 kB / 0.7303 GB, free: 28 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.1932, allocations: 12 kB / 0.7304 GB, free: 16 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-05/0.1933, allocations: 16 kB / 0.7304 GB, free: 0 / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-05/0.1934, allocations: 55.97 kB / 0.7304 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.726e-05/0.1935, allocations: 87.36 kB / 0.7305 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.1937, allocations: 231.2 kB / 0.7307 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1937, allocations: 0 / 0.7307 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1937, allocations: 0 / 0.7307 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.1937, allocations: 4 kB / 0.7307 GB, free: 15.62 MB / 0.5606 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.0005557/0.1943, allocations: 437.6 kB / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1943, allocations: 8.031 kB / 0.7312 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.905e-05/0.1943, allocations: 8.562 kB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.1944, allocations: 54.73 kB / 0.7312 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.1944, allocations: 32.73 kB / 0.7312 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.1947, allocations: 194.2 kB / 0.7314 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1947, allocations: 12.75 kB / 0.7314 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.1948, allocations: 24.31 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.1953, allocations: 336.7 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1953, allocations: 0 / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.1953, allocations: 12 kB / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.1954, allocations: 11.98 kB / 0.7318 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.1957, allocations: 263.8 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.197, allocations: 1.057 MB / 0.7331 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1971, allocations: 165.1 kB / 0.7332 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.1972, allocations: 80.14 kB / 0.7333 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.1972, allocations: 75.28 kB / 0.7334 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.453e-05/0.1972, allocations: 121.9 kB / 0.7335 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1972, allocations: 0 / 0.7335 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.923e-05/0.1973, allocations: 49.56 kB / 0.7336 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.1974, allocations: 126.7 kB / 0.7337 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/0.198, allocations: 0.4926 MB / 0.7342 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.198, allocations: 25.7 kB / 0.7342 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.1982, allocations: 183.8 kB / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.1982, allocations: 0 / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.1982, allocations: 29.7 kB / 0.7344 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1984, allocations: 338.8 kB / 0.7347 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.1984, allocations: 47.95 kB / 0.7348 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1986, allocations: 93.91 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1987, allocations: 105.9 kB / 0.735 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1987, allocations: 4 kB / 0.735 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003082/0.199, allocations: 181.3 kB / 0.7351 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.199, allocations: 7.938 kB / 0.7351 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.199, allocations: 4 kB / 0.7351 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1991, allocations: 3.984 kB / 0.7351 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1992, allocations: 23.92 kB / 0.7352 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1992, allocations: 4 kB / 0.7352 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.1993, allocations: 43.88 kB / 0.7352 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1993, allocations: 16 kB / 0.7352 GB, free: 10.75 MB / 0.5606 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.0001709/0.1995, allocations: 241.1 kB / 0.7355 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.651e-05/0.1996, allocations: 136.8 kB / 0.7356 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.422e-05/0.1997, allocations: 130.8 kB / 0.7357 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/0.1998, allocations: 184.2 kB / 0.7359 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-05/0.1999, allocations: 184.2 kB / 0.7361 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.837e-05/0.2, allocations: 176.3 kB / 0.7362 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.2003, allocations: 468.1 kB / 0.7367 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.911e-05/0.2004, allocations: 109 kB / 0.7368 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.2004, allocations: 104.9 kB / 0.7369 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.021e-05/0.2005, allocations: 180.2 kB / 0.7371 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.237e-05/0.2006, allocations: 180.3 kB / 0.7372 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000103/0.2007, allocations: 188.2 kB / 0.7374 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.199e-05/0.2008, allocations: 180.5 kB / 0.7376 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.201, allocations: 327.6 kB / 0.7379 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.2011, allocations: 156.7 kB / 0.738 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.2012, allocations: 176.3 kB / 0.7382 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2014, allocations: 117 kB / 0.7383 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.2014, allocations: 180.2 kB / 0.7385 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.2015, allocations: 105 kB / 0.7386 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003825/0.2019, allocations: 359 kB / 0.7389 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2019, allocations: 3.938 kB / 0.7389 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002893/0.2022, allocations: 28 kB / 0.739 GB, free: 6.723 MB / 0.5606 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.0005283/0.2027, allocations: 0.8319 MB / 0.7398 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.2029, allocations: 68.2 kB / 0.7398 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2029, allocations: 0 / 0.7398 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.2029, allocations: 0 / 0.7398 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.2035, allocations: 480.8 kB / 0.7403 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.2072, allocations: 3.279 MB / 0.7435 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.2077, allocations: 0.7788 MB / 0.7443 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.2078, allocations: 49.62 kB / 0.7443 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.2079, allocations: 59.41 kB / 0.7444 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/0.2079, allocations: 0 / 0.7444 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.2354, allocations: 4.75 MB / 0.749 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.69, allocations: 17.89 kB / 0.749 GB, free: 12.41 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.801386934996117] Failed to read output from testmodel.py, exit status != 0: 11.8537608650513 12.17729429 11.674415564 Calling exit ...