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.001304/0.001304, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001529/0.001529, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002712/0.002712, allocations: 299.1 kB / 312.7 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.154/1.154, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.003057/0.003057, allocations: 101.7 kB / 0.7395 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1641, allocations: 95.38 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002686/0.1668, allocations: 1.405 MB / 0.834 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001551/0.167, allocations: 35.89 kB / 0.834 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.167, allocations: 3.938 kB / 0.834 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1671, allocations: 11.92 kB / 0.834 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.1672, allocations: 15.94 kB / 0.8341 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.386e-06/0.1672, allocations: 0 / 0.8341 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.209e-05/0.1673, allocations: 19.91 kB / 0.8341 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.1673, allocations: 4 kB / 0.8341 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.874e-05/0.1674, allocations: 11.94 kB / 0.8341 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.1674, allocations: 15.92 kB / 0.8341 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1674, allocations: 0 / 0.8341 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.087e-05/0.1675, allocations: 8 kB / 0.8341 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.1675, allocations: 4 kB / 0.8341 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.1675, allocations: 11.92 kB / 0.8341 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.816e-05/0.1676, allocations: 28.12 kB / 0.8342 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1676, allocations: 0 / 0.8342 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1676, allocations: 0 / 0.8342 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1676, allocations: 4 kB / 0.8342 GB, free: 6.746 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.000313/0.168, allocations: 262.2 kB / 0.8344 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.168, allocations: 13.34 kB / 0.8344 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.168, allocations: 30.75 kB / 0.8345 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.329e-05/0.1681, allocations: 8.875 kB / 0.8345 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.1682, allocations: 122.4 kB / 0.8346 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1682, allocations: 4.359 kB / 0.8346 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-06/0.1682, allocations: 384 / 0.8346 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.589e-05/0.1683, allocations: 34.25 kB / 0.8346 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1683, allocations: 7.938 kB / 0.8346 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.1683, allocations: 0 / 0.8346 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.1683, allocations: 0 / 0.8346 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.1684, allocations: 4 kB / 0.8346 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.1685, allocations: 128.8 kB / 0.8347 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.626e-05/0.1685, allocations: 26.48 kB / 0.8348 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.1686, allocations: 8.859 kB / 0.8348 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.1686, allocations: 0 / 0.8348 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1686, allocations: 38.61 kB / 0.8348 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1686, allocations: 0 / 0.8348 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001376/0.1687, allocations: 37.64 kB / 0.8349 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1688, allocations: 59.39 kB / 0.8349 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1689, allocations: 113.8 kB / 0.835 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1689, allocations: 29.83 kB / 0.835 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.169, allocations: 88.14 kB / 0.8351 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.169, allocations: 3.953 kB / 0.8351 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.169, allocations: 9.719 kB / 0.8351 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1692, allocations: 318.8 kB / 0.8354 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.1692, allocations: 3.984 kB / 0.8355 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.1692, allocations: 4 kB / 0.8355 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.1692, allocations: 12.86 kB / 0.8355 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1692, allocations: 0 / 0.8355 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.656e-05/0.1693, allocations: 29.77 kB / 0.8355 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1693, allocations: 15.97 kB / 0.8355 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1693, allocations: 0 / 0.8355 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1693, allocations: 3.938 kB / 0.8355 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.566e-05/0.1693, allocations: 3.984 kB / 0.8355 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1693, allocations: 4 kB / 0.8355 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.192e-05/0.1694, allocations: 0 / 0.8355 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/0.1694, allocations: 0 / 0.8355 GB, free: 5.152 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.786e-05/0.1694, allocations: 114.5 kB / 0.8356 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.1694, allocations: 7.891 kB / 0.8356 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.844e-05/0.1695, allocations: 45.16 kB / 0.8357 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1695, allocations: 0 / 0.8357 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1695, allocations: 0 / 0.8357 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1695, allocations: 0 / 0.8357 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.1697, allocations: 124.8 kB / 0.8358 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1697, allocations: 3.938 kB / 0.8358 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.1697, allocations: 4 kB / 0.8358 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1697, allocations: 3.938 kB / 0.8358 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.1697, allocations: 0 / 0.8358 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1697, allocations: 7.875 kB / 0.8358 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1697, allocations: 0 / 0.8358 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.223e-05/0.1698, allocations: 69.16 kB / 0.8359 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.1698, allocations: 3.953 kB / 0.8359 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.1698, allocations: 3.938 kB / 0.8359 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.1698, allocations: 4 kB / 0.8359 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-06/0.1698, allocations: 0 / 0.8359 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1698, allocations: 8 kB / 0.8359 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.105e-05/0.1699, allocations: 91.27 kB / 0.836 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1699, allocations: 0 / 0.836 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001883/0.1701, allocations: 4 kB / 0.836 GB, free: 4.586 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.0004689/0.1705, allocations: 0.6194 MB / 0.8366 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.474e-05/0.1706, allocations: 11.98 kB / 0.8366 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1706, allocations: 0 / 0.8366 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.1706, allocations: 4 kB / 0.8366 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.1707, allocations: 0 / 0.8366 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1718, allocations: 1.102 MB / 0.8377 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.896e-05/0.1718, allocations: 67.91 kB / 0.8378 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.219e-05/0.1719, allocations: 11.89 kB / 0.8378 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.1719, allocations: 7.438 kB / 0.8378 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.1719, allocations: 0 / 0.8378 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05671/0.2286, allocations: 1.931 MB / 0.8397 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.99, allocations: 6.625 kB / 0.8397 GB, free: 0.8438 MB / 0.5762 GB " [Timeout remaining time 649] (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: 15.06327798590064] Failed to read output from testmodel.py, exit status != 0: 11.088662320747972 11.105184737 10.934414673 Calling exit ...