Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.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.001329/0.001329, allocations: 119 kB / 19.69 MB, free: 2.199 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.001484/0.001484, allocations: 224.3 kB / 23.01 MB, free: 5.047 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9673/0.9673, allocations: 150 MB / 463.2 MB, free: 10.45 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.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",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.002134/0.002134, allocations: 67.62 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1955, allocations: 89.17 MB / 0.7283 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.004766/0.2003, allocations: 1.505 MB / 0.7298 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003046/0.2033, allocations: 1.239 MB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.2034, allocations: 7.938 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.2036, allocations: 15.86 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.2039, allocations: 47.78 kB / 0.7311 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.2043, allocations: 55.89 kB / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.2046, allocations: 151.5 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.2048, allocations: 37.5 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.205, allocations: 79.81 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.2052, allocations: 63.69 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.2053, allocations: 16 kB / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.2054, allocations: 20 kB / 0.7315 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2055, allocations: 59.75 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2057, allocations: 75.58 kB / 0.7316 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.2061, allocations: 191.2 kB / 0.7318 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2061, allocations: 0 / 0.7318 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2061, allocations: 0 / 0.7318 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.2061, allocations: 0 / 0.7318 GB, free: 13.67 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001085/0.2072, allocations: 437.3 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.2072, allocations: 12.03 kB / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.289e-05/0.2073, allocations: 34.75 kB / 0.7323 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.2074, allocations: 20.84 kB / 0.7323 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.2079, allocations: 202.1 kB / 0.7325 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003303/0.2082, allocations: 222.2 kB / 0.7327 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.2083, allocations: 4.375 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.2089, allocations: 161.5 kB / 0.7328 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2089, allocations: 4 kB / 0.7328 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.2089, allocations: 4 kB / 0.7329 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.2089, allocations: 4 kB / 0.7329 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.2091, allocations: 50.86 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.2111, allocations: 435.5 kB / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.2112, allocations: 38.5 kB / 0.7334 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.2113, allocations: 16.86 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.2113, allocations: 7.984 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.2114, allocations: 34.5 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/0.2114, allocations: 0 / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004827/0.2118, allocations: 113.7 kB / 0.7335 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.2119, allocations: 59.28 kB / 0.7336 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.2123, allocations: 215.8 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.2124, allocations: 25.7 kB / 0.7338 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2125, allocations: 120.2 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.2126, allocations: 31.73 kB / 0.734 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/0.2127, allocations: 29.72 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.2129, allocations: 326.8 kB / 0.7343 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.734e-05/0.213, allocations: 27.98 kB / 0.7343 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.2132, allocations: 104 kB / 0.7344 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.2136, allocations: 142.1 kB / 0.7346 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.2136, allocations: 4 kB / 0.7346 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005309/0.2141, allocations: 149.6 kB / 0.7347 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.2141, allocations: 8.062 kB / 0.7347 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.2141, allocations: 4 kB / 0.7347 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.2142, allocations: 4 kB / 0.7347 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.2143, allocations: 23.98 kB / 0.7347 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.2144, allocations: 11.88 kB / 0.7348 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.2145, allocations: 15.89 kB / 0.7348 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.2145, allocations: 4.312 kB / 0.7348 GB, free: 10.31 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0002193/0.2147, allocations: 141.8 kB / 0.7349 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-05/0.2148, allocations: 15.91 kB / 0.7349 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.2152, allocations: 134.8 kB / 0.735 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2152, allocations: 0 / 0.735 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.2152, allocations: 3.938 kB / 0.7351 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.2152, allocations: 4 kB / 0.7351 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.2157, allocations: 204.6 kB / 0.7353 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2157, allocations: 0 / 0.7353 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.507e-05/0.2158, allocations: 12 kB / 0.7353 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.2158, allocations: 3.984 kB / 0.7353 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.2158, allocations: 11.98 kB / 0.7353 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2158, allocations: 0 / 0.7353 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.2158, allocations: 7.938 kB / 0.7353 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.2162, allocations: 183.4 kB / 0.7355 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.2162, allocations: 11.91 kB / 0.7355 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.2163, allocations: 8 kB / 0.7355 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.2167, allocations: 19.97 kB / 0.7355 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.2167, allocations: 3.938 kB / 0.7355 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.2168, allocations: 15.98 kB / 0.7355 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002827/0.2171, allocations: 156.2 kB / 0.7357 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2171, allocations: 0 / 0.7357 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006073/0.2177, allocations: 35.92 kB / 0.7357 GB, free: 9.277 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 (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 Backend phase and start with SimCode phase: time 0.001063/0.2187, allocations: 0.7474 MB / 0.7364 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.219, allocations: 75.81 kB / 0.7365 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.219, allocations: 0 / 0.7365 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/0.2191, allocations: 24.73 kB / 0.7365 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.2197, allocations: 23.94 kB / 0.7366 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.2232, allocations: 1.906 MB / 0.7384 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.2238, allocations: 0.7313 MB / 0.7391 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002152/0.224, allocations: 56.81 kB / 0.7392 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.2242, allocations: 47.42 kB / 0.7392 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2242, allocations: 0 / 0.7392 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04451/0.2687, allocations: 4.366 MB / 0.7435 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.44, allocations: 22.12 kB / 0.7435 GB, free: 1.277 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.577812086092308] Failed to read output from testmodel.py, exit status != 0: 12.638247665017843 12.661010956 12.450942652 Calling exit ...