Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00133/0.00133, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001457/0.001457, allocations: 211 kB / 22.25 MB, free: 5.125 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.98 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.002536/0.002536, allocations: 282.9 kB / 312.7 MB, free: 2.824 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.207/1.207, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_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.002955/0.002955, allocations: 107.5 kB / 0.7396 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1714, allocations: 95.38 MB / 0.8327 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002933/0.1743, allocations: 1.521 MB / 0.8342 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.1762, allocations: 1.24 MB / 0.8354 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.1762, allocations: 0 / 0.8354 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.1764, allocations: 15.86 kB / 0.8354 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1766, allocations: 39.78 kB / 0.8355 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1768, allocations: 59.84 kB / 0.8355 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.177, allocations: 147.5 kB / 0.8357 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1772, allocations: 41.52 kB / 0.8357 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1773, allocations: 83.75 kB / 0.8358 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.1775, allocations: 55.7 kB / 0.8358 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.1775, allocations: 12 kB / 0.8359 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.1776, allocations: 31.98 kB / 0.8359 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.1777, allocations: 51.83 kB / 0.8359 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.359e-05/0.1778, allocations: 71.58 kB / 0.836 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.1781, allocations: 195.2 kB / 0.8362 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1781, allocations: 4 kB / 0.8362 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1781, allocations: 0 / 0.8362 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1781, allocations: 4 kB / 0.8362 GB, free: 5.113 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007098/0.1788, allocations: 417.3 kB / 0.8366 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1788, allocations: 13.34 kB / 0.8366 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.346e-05/0.1789, allocations: 42.73 kB / 0.8366 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.1789, allocations: 24.8 kB / 0.8367 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.1793, allocations: 202.1 kB / 0.8369 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.1795, allocations: 230.1 kB / 0.8371 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.1795, allocations: 8.375 kB / 0.8371 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.1799, allocations: 165.5 kB / 0.8372 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1799, allocations: 0 / 0.8372 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.1799, allocations: 4 kB / 0.8373 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.1799, allocations: 8 kB / 0.8373 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.668e-05/0.18, allocations: 41.66 kB / 0.8373 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.1811, allocations: 431.5 kB / 0.8377 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/0.1812, allocations: 30.58 kB / 0.8377 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.1812, allocations: 28.84 kB / 0.8378 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.1812, allocations: 7.922 kB / 0.8378 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.1813, allocations: 38.72 kB / 0.8378 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1813, allocations: 0 / 0.8378 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0002876/0.1816, allocations: 105.6 kB / 0.8379 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1816, allocations: 59.34 kB / 0.838 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.1819, allocations: 220.4 kB / 0.8382 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1819, allocations: 25.7 kB / 0.8382 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.182, allocations: 124.2 kB / 0.8383 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.182, allocations: 23.81 kB / 0.8383 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.182, allocations: 37.7 kB / 0.8384 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1822, allocations: 322.8 kB / 0.8387 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.1823, allocations: 31.97 kB / 0.8387 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1824, allocations: 106.2 kB / 0.8388 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1826, allocations: 138.2 kB / 0.839 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1826, allocations: 0 / 0.839 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002608/0.1828, allocations: 153.3 kB / 0.8391 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1828, allocations: 11.94 kB / 0.8391 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1828, allocations: 0 / 0.8391 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1829, allocations: 4 kB / 0.8391 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.183, allocations: 27.98 kB / 0.8391 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.183, allocations: 7.938 kB / 0.8391 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.1831, allocations: 15.89 kB / 0.8392 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1831, allocations: 12.31 kB / 0.8392 GB, free: 1.742 MB / 0.5762 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.0001454/0.1832, allocations: 141.8 kB / 0.8393 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.1833, allocations: 15.91 kB / 0.8393 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.1835, allocations: 123.1 kB / 0.8394 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1835, allocations: 0 / 0.8394 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1835, allocations: 3.938 kB / 0.8394 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1835, allocations: 0 / 0.8394 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.1838, allocations: 204.6 kB / 0.8396 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1838, allocations: 4 kB / 0.8396 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.1839, allocations: 8 kB / 0.8397 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1839, allocations: 8 kB / 0.8397 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1839, allocations: 0 / 0.8397 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1839, allocations: 0 / 0.8397 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.1839, allocations: 3.938 kB / 0.8397 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1841, allocations: 195.3 kB / 0.8399 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.1841, allocations: 11.94 kB / 0.8399 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.1841, allocations: 0 / 0.8399 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.1844, allocations: 23.98 kB / 0.8399 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.1844, allocations: 7.922 kB / 0.8399 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.1844, allocations: 11.98 kB / 0.8399 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001654/0.1846, allocations: 165.5 kB / 0.8401 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1846, allocations: 0 / 0.8401 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003101/0.1849, allocations: 35.89 kB / 0.8401 GB, free: 0.7266 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 (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.0007487/0.1857, allocations: 0.7543 MB / 0.8408 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1859, allocations: 76.33 kB / 0.8409 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1859, allocations: 0 / 0.8409 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.1859, allocations: 23.94 kB / 0.8409 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1862, allocations: 27.64 kB / 0.841 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.1885, allocations: 1.913 MB / 0.8428 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.1889, allocations: 0.7391 MB / 0.8435 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.189, allocations: 52.98 kB / 0.8436 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.966e-05/0.1891, allocations: 43.42 kB / 0.8436 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of SimCode: time 5e-07/0.1891, allocations: 0 / 0.8436 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.2217, allocations: 4.392 MB / 0.8479 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.08, allocations: 8.062 kB / 0.8479 GB, free: 8.676 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.2853564979996] Failed to read output from testmodel.py, exit status != 0: 11.183211131999997 11.214984127 11.031207982 Calling exit ...