Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.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.001504/0.001504, 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.001678/0.001678, allocations: 222.6 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.992 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 1.013/1.013, allocations: 150 MB / 463.2 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.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_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.003358/0.003358, allocations: 72.19 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1936, allocations: 89.18 MB / 0.7283 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.00251/0.1961, allocations: 1.364 MB / 0.7297 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001431/0.1963, allocations: 43.77 kB / 0.7297 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.1963, allocations: 0 / 0.7297 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.1965, allocations: 11.91 kB / 0.7297 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.87e-05/0.1966, allocations: 15.88 kB / 0.7297 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.527e-06/0.1966, allocations: 0 / 0.7297 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.1966, allocations: 19.92 kB / 0.7298 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.1967, allocations: 0 / 0.7298 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.1967, allocations: 11.92 kB / 0.7298 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.1967, allocations: 7.984 kB / 0.7298 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1967, allocations: 0 / 0.7298 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.1968, allocations: 20 kB / 0.7298 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.66e-05/0.1968, allocations: 3.938 kB / 0.7298 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.1969, allocations: 11.92 kB / 0.7298 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.713e-05/0.197, allocations: 28.12 kB / 0.7298 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.197, allocations: 0 / 0.7298 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.197, allocations: 0 / 0.7298 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.197, allocations: 4 kB / 0.7298 GB, free: 15.74 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000324/0.1973, allocations: 258.2 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1973, allocations: 8.031 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.1974, allocations: 34.7 kB / 0.7301 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.1974, allocations: 8.938 kB / 0.7301 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1976, allocations: 118.4 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.1976, allocations: 384 / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1976, allocations: 4.359 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/0.1977, allocations: 34.27 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1977, allocations: 7.938 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.1977, allocations: 0 / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.1977, allocations: 0 / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.523e-05/0.1977, allocations: 7.984 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.198, allocations: 212 kB / 0.7305 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.289e-05/0.198, allocations: 22.52 kB / 0.7305 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.1981, allocations: 8.922 kB / 0.7305 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1981, allocations: 7.922 kB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1981, allocations: 30.56 kB / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1981, allocations: 0 / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.1982, allocations: 41.64 kB / 0.7306 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.1983, allocations: 51.41 kB / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1984, allocations: 113.8 kB / 0.7308 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1984, allocations: 25.7 kB / 0.7308 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.1984, allocations: 92.12 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.1985, allocations: 3.953 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1985, allocations: 9.719 kB / 0.7309 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1986, allocations: 323 kB / 0.7312 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.1986, allocations: 0 / 0.7312 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.1986, allocations: 0 / 0.7312 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.1987, allocations: 16.78 kB / 0.7312 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1987, allocations: 3.938 kB / 0.7312 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.973e-05/0.1987, allocations: 37.64 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1987, allocations: 4 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1988, allocations: 4 kB / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1988, allocations: 96 / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.1988, allocations: 4 kB / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1988, allocations: 0 / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.15e-05/0.1988, allocations: 0 / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1988, allocations: 4 kB / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 8.81e-05/0.1989, allocations: 123.7 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.1989, allocations: 3.953 kB / 0.7314 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.83e-05/0.199, allocations: 37.17 kB / 0.7314 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.199, allocations: 7.922 kB / 0.7314 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.199, allocations: 4.031 kB / 0.7314 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.199, allocations: 0 / 0.7314 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.1992, allocations: 136.7 kB / 0.7316 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1992, allocations: 4 kB / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.1992, allocations: 0 / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1992, allocations: 0 / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1992, allocations: 4 kB / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1992, allocations: 0 / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1992, allocations: 0 / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.1993, allocations: 143.4 kB / 0.7317 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.1993, allocations: 3.953 kB / 0.7317 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.1993, allocations: 0 / 0.7317 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.904e-05/0.1994, allocations: 0 / 0.7317 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.1994, allocations: 4 kB / 0.7317 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.1994, allocations: 0 / 0.7317 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.863e-05/0.1995, allocations: 103.5 kB / 0.7318 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1995, allocations: 0 / 0.7318 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002228/0.1997, allocations: 11.88 kB / 0.7318 GB, free: 13.42 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 (1): * Single equations (assignments): 1 * 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.0005096/0.2002, allocations: 0.6749 MB / 0.7325 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.601e-05/0.2003, allocations: 12.02 kB / 0.7325 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2003, allocations: 0 / 0.7325 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.2003, allocations: 7.938 kB / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.2005, allocations: 6.344 kB / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2016, allocations: 1.183 MB / 0.7337 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2019, allocations: 0.6807 MB / 0.7343 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.967e-05/0.2019, allocations: 7.984 kB / 0.7344 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.202, allocations: 7.438 kB / 0.7344 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.202, allocations: 4.031 kB / 0.7344 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.23, allocations: 1.476 MB / 0.7358 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.21, allocations: 12.42 kB / 0.7358 GB, free: 9.363 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.133798162001767] Failed to read output from testmodel.py, exit status != 0: 11.323897049001971 11.338161213 11.138109208 Calling exit ...