Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001796/0.001796, allocations: 108.7 kB / 16.46 MB, free: 6.453 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.001416/0.001416, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.383/1.383, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.002407/0.002407, allocations: 287.1 kB / 309.1 MB, free: 3.973 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.215/1.215, allocations: 180.9 MB / 0.5333 GB, free: 13.88 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.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.002759/0.002759, allocations: 106.6 kB / 0.7342 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.171, allocations: 95.34 MB / 0.8273 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002768/0.1738, allocations: 1.394 MB / 0.8287 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001654/0.174, allocations: 47.81 kB / 0.8287 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.174, allocations: 0 / 0.8287 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.1741, allocations: 3.938 kB / 0.8287 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.1743, allocations: 23.86 kB / 0.8288 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.626e-06/0.1743, allocations: 0 / 0.8288 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.1743, allocations: 19.92 kB / 0.8288 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.1744, allocations: 0 / 0.8288 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.1744, allocations: 11.98 kB / 0.8288 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.1745, allocations: 15.92 kB / 0.8288 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1745, allocations: 0 / 0.8288 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.481e-05/0.1745, allocations: 8 kB / 0.8288 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.1746, allocations: 11.94 kB / 0.8288 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.1746, allocations: 3.938 kB / 0.8288 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1747, allocations: 40.11 kB / 0.8289 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1747, allocations: 3.938 kB / 0.8289 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1747, allocations: 0 / 0.8289 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.1747, allocations: 0 / 0.8289 GB, free: 8.336 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.0004288/0.1751, allocations: 336.4 kB / 0.8292 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1752, allocations: 8.031 kB / 0.8292 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.1752, allocations: 30.75 kB / 0.8292 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.1752, allocations: 4.938 kB / 0.8292 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1754, allocations: 176.3 kB / 0.8294 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1755, allocations: 384 / 0.8294 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1755, allocations: 384 / 0.8294 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.625e-05/0.1756, allocations: 38.23 kB / 0.8294 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1756, allocations: 3.938 kB / 0.8295 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1756, allocations: 7.984 kB / 0.8295 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.1756, allocations: 0 / 0.8295 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.459e-05/0.1756, allocations: 11.94 kB / 0.8295 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.1758, allocations: 153.7 kB / 0.8296 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.848e-05/0.1759, allocations: 18.58 kB / 0.8296 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.1759, allocations: 4.859 kB / 0.8296 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1759, allocations: 3.938 kB / 0.8296 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.1759, allocations: 34.56 kB / 0.8297 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1759, allocations: 0 / 0.8297 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.1761, allocations: 53.56 kB / 0.8297 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1761, allocations: 51.41 kB / 0.8298 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1762, allocations: 117.8 kB / 0.8299 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1763, allocations: 25.7 kB / 0.8299 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.1763, allocations: 84.14 kB / 0.83 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.1763, allocations: 3.953 kB / 0.83 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1764, allocations: 21.83 kB / 0.83 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1765, allocations: 310.8 kB / 0.8303 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.1765, allocations: 0 / 0.8303 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.1765, allocations: 8 kB / 0.8303 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.61e-05/0.1766, allocations: 8.859 kB / 0.8303 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1766, allocations: 0 / 0.8303 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.827e-05/0.1766, allocations: 41.62 kB / 0.8304 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1767, allocations: 8.031 kB / 0.8304 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1767, allocations: 4 kB / 0.8304 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1767, allocations: 0 / 0.8304 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/0.1767, allocations: 4 kB / 0.8304 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1767, allocations: 0 / 0.8304 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.1767, allocations: 4 kB / 0.8304 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.1767, allocations: 0 / 0.8304 GB, free: 6.555 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 7.773e-05/0.1768, allocations: 109.8 kB / 0.8305 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.1768, allocations: 7.891 kB / 0.8305 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/0.1769, allocations: 53.16 kB / 0.8306 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1769, allocations: 4 kB / 0.8306 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.177, allocations: 0 / 0.8306 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.177, allocations: 0 / 0.8306 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1771, allocations: 157.7 kB / 0.8307 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1771, allocations: 0 / 0.8307 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.1771, allocations: 4 kB / 0.8307 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1771, allocations: 3.938 kB / 0.8307 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.1771, allocations: 0 / 0.8307 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1771, allocations: 0 / 0.8307 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1771, allocations: 0 / 0.8307 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.217e-05/0.1772, allocations: 65.16 kB / 0.8308 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.1773, allocations: 85.06 kB / 0.8309 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1773, allocations: 3.938 kB / 0.8309 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-06/0.1773, allocations: 3.938 kB / 0.8309 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.1773, allocations: 0 / 0.8309 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.1773, allocations: 3.938 kB / 0.8309 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.555e-05/0.1774, allocations: 95.2 kB / 0.831 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1774, allocations: 8.031 kB / 0.831 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000187/0.1775, allocations: 4 kB / 0.831 GB, free: 5.855 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.0005245/0.1781, allocations: 0.6128 MB / 0.8316 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.883e-05/0.1781, allocations: 4 kB / 0.8316 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1781, allocations: 0 / 0.8316 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.1782, allocations: 11.92 kB / 0.8316 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1783, allocations: 6.062 kB / 0.8316 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1794, allocations: 1.111 MB / 0.8327 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1798, allocations: 0.6807 MB / 0.8333 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.567e-05/0.1799, allocations: 7.938 kB / 0.8333 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.1799, allocations: 15.44 kB / 0.8334 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.1799, allocations: 0 / 0.8334 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.2037, allocations: 1.418 MB / 0.8347 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.486, allocations: 10.17 kB / 0.8348 GB, free: 1.996 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.698317827191204] Failed to read output from testmodel.py, exit status != 0: 8.555099361110479 8.578808161 8.400424497 Calling exit ...