Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001639/0.001639, allocations: 108.1 kB / 16.45 MB, free: 6.508 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.001969/0.001969, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002485/0.002485, allocations: 293 kB / 309.1 MB, free: 3.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.262/1.262, allocations: 180.9 MB / 0.5333 GB, free: 13.82 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002869/0.002869, allocations: 107.2 kB / 0.7342 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1946, allocations: 95.34 MB / 0.8273 GB, free: 10 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002594/0.1972, allocations: 1.381 MB / 0.8287 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001669/0.1974, allocations: 39.83 kB / 0.8287 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.1974, allocations: 0 / 0.8287 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.1976, allocations: 15.84 kB / 0.8287 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.1977, allocations: 15.94 kB / 0.8288 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.877e-06/0.1977, allocations: 0 / 0.8288 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.773e-05/0.1978, allocations: 15.92 kB / 0.8288 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.1978, allocations: 0 / 0.8288 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.1979, allocations: 11.98 kB / 0.8288 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.1979, allocations: 7.938 kB / 0.8288 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1979, allocations: 0 / 0.8288 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.649e-05/0.198, allocations: 19.98 kB / 0.8288 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.198, allocations: 3.938 kB / 0.8288 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.198, allocations: 11.92 kB / 0.8288 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1982, allocations: 28.12 kB / 0.8289 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1982, allocations: 0 / 0.8289 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1982, allocations: 3.938 kB / 0.8289 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.1982, allocations: 0 / 0.8289 GB, free: 8.438 MB / 0.5762 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.0004088/0.1986, allocations: 331.3 kB / 0.8292 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1986, allocations: 12.03 kB / 0.8292 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.1987, allocations: 38.75 kB / 0.8292 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.1987, allocations: 4.891 kB / 0.8292 GB, free: 8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.199, allocations: 172.4 kB / 0.8294 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.199, allocations: 384 / 0.8294 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.199, allocations: 384 / 0.8294 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1991, allocations: 30.27 kB / 0.8294 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1991, allocations: 3.938 kB / 0.8294 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1991, allocations: 0 / 0.8294 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.1991, allocations: 7.984 kB / 0.8294 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.1992, allocations: 7.938 kB / 0.8294 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.1995, allocations: 241 kB / 0.8297 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.233e-05/0.1996, allocations: 26.5 kB / 0.8297 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.1996, allocations: 4.859 kB / 0.8297 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1996, allocations: 4 kB / 0.8297 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1996, allocations: 34.62 kB / 0.8297 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1996, allocations: 4 kB / 0.8297 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001647/0.1998, allocations: 41.53 kB / 0.8298 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1999, allocations: 59.39 kB / 0.8298 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.2, allocations: 117.8 kB / 0.8299 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.2, allocations: 25.7 kB / 0.83 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.2001, allocations: 80.14 kB / 0.83 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.2001, allocations: 4 kB / 0.83 GB, free: 7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.2001, allocations: 13.72 kB / 0.8301 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2002, allocations: 315 kB / 0.8304 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.2003, allocations: 3.984 kB / 0.8304 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-06/0.2003, allocations: 4 kB / 0.8304 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.2003, allocations: 16.8 kB / 0.8304 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.2003, allocations: 3.938 kB / 0.8304 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.822e-05/0.2004, allocations: 37.66 kB / 0.8304 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2004, allocations: 5.406 kB / 0.8304 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2004, allocations: 0 / 0.8304 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2004, allocations: 4.094 kB / 0.8304 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.2005, allocations: 7.984 kB / 0.8304 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2005, allocations: 0 / 0.8304 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.2005, allocations: 0 / 0.8304 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.2005, allocations: 0 / 0.8304 GB, free: 6.574 MB / 0.5762 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 9.095e-05/0.2006, allocations: 114.4 kB / 0.8306 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.2006, allocations: 0 / 0.8306 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.2007, allocations: 49.16 kB / 0.8306 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2007, allocations: 4.031 kB / 0.8306 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2007, allocations: 4 kB / 0.8306 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2007, allocations: 0 / 0.8306 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.2009, allocations: 157.6 kB / 0.8308 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.2009, allocations: 0 / 0.8308 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.2009, allocations: 4 kB / 0.8308 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2009, allocations: 0 / 0.8308 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.2009, allocations: 0 / 0.8308 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2009, allocations: 0 / 0.8308 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2009, allocations: 0 / 0.8308 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.201, allocations: 147.4 kB / 0.8309 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.2011, allocations: 77.11 kB / 0.831 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.2011, allocations: 4 kB / 0.831 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.118e-05/0.2011, allocations: 3.938 kB / 0.831 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.2012, allocations: 3.984 kB / 0.831 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.2012, allocations: 0 / 0.831 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.084e-05/0.2013, allocations: 99.5 kB / 0.8311 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2013, allocations: 0 / 0.8311 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002367/0.2015, allocations: 11.97 kB / 0.8311 GB, free: 5.809 MB / 0.5762 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.0005883/0.2021, allocations: 0.6841 MB / 0.8318 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.879e-05/0.2022, allocations: 11.94 kB / 0.8318 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2022, allocations: 0 / 0.8318 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-06/0.2022, allocations: 0 / 0.8318 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.2024, allocations: 4 kB / 0.8318 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2035, allocations: 1.173 MB / 0.8329 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.2038, allocations: 0.6807 MB / 0.8336 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.399e-05/0.2039, allocations: 4 kB / 0.8336 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.2039, allocations: 15.47 kB / 0.8336 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of SimCode: time 4.4e-07/0.2039, allocations: 0 / 0.8336 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.2289, allocations: 1.423 MB / 0.835 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.382, allocations: 3.625 kB / 0.835 GB, free: 1.785 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.659048130735755] Failed to read output from testmodel.py, exit status != 0: 8.448534320108593 8.464160553 8.263082432 Calling exit ...