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.001318/0.001318, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001479/0.001479, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.809 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.002601/0.002601, allocations: 282.5 kB / 312.7 MB, free: 2.625 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.233/1.233, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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: translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") [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.002964/0.002964, allocations: 99.97 kB / 0.74 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1801, allocations: 95.38 MB / 0.8331 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002767/0.1829, allocations: 1.396 MB / 0.8345 GB, free: 6.453 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0002859/0.1832, allocations: 39.83 kB / 0.8345 GB, free: 6.414 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.1832, allocations: 4 kB / 0.8345 GB, free: 6.41 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.1834, allocations: 19.84 kB / 0.8345 GB, free: 6.391 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.1835, allocations: 11.94 kB / 0.8345 GB, free: 6.379 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 3.357e-06/0.1835, allocations: 0 / 0.8345 GB, free: 6.379 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.537e-05/0.1836, allocations: 15.98 kB / 0.8346 GB, free: 6.363 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.1836, allocations: 3.938 kB / 0.8346 GB, free: 6.359 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.1836, allocations: 7.938 kB / 0.8346 GB, free: 6.352 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.1837, allocations: 15.92 kB / 0.8346 GB, free: 6.336 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1837, allocations: 0 / 0.8346 GB, free: 6.336 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 4.753e-05/0.1838, allocations: 15.98 kB / 0.8346 GB, free: 6.32 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.1838, allocations: 4 kB / 0.8346 GB, free: 6.316 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.1838, allocations: 7.938 kB / 0.8346 GB, free: 6.309 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1839, allocations: 35.83 kB / 0.8347 GB, free: 6.273 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1839, allocations: 0 / 0.8347 GB, free: 6.273 MB / 0.5763 GB Notification: Performance of FrontEnd: time 8.32e-07/0.1839, allocations: 0 / 0.8347 GB, free: 6.273 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1839, allocations: 0 / 0.8347 GB, free: 6.273 MB / 0.5763 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.000372/0.1843, allocations: 262.2 kB / 0.8349 GB, free: 5.984 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1843, allocations: 9.344 kB / 0.8349 GB, free: 5.977 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.1844, allocations: 8.938 kB / 0.8349 GB, free: 5.969 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.1845, allocations: 114.5 kB / 0.835 GB, free: 5.832 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.1845, allocations: 384 / 0.835 GB, free: 5.832 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1846, allocations: 384 / 0.835 GB, free: 5.832 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.618e-05/0.1846, allocations: 42.19 kB / 0.8351 GB, free: 5.785 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1846, allocations: 192 / 0.8351 GB, free: 5.785 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1847, allocations: 3.938 kB / 0.8351 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.1847, allocations: 4 kB / 0.8351 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.076e-05/0.1847, allocations: 3.984 kB / 0.8351 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.1848, allocations: 105.3 kB / 0.8352 GB, free: 5.641 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.1849, allocations: 22.61 kB / 0.8352 GB, free: 5.609 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.1849, allocations: 8.797 kB / 0.8352 GB, free: 5.598 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1849, allocations: 4.062 kB / 0.8352 GB, free: 5.594 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.185, allocations: 34.5 kB / 0.8352 GB, free: 5.551 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.185, allocations: 3.938 kB / 0.8353 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1): time 0.000124/0.1851, allocations: 41.64 kB / 0.8353 GB, free: 5.5 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1851, allocations: 55.39 kB / 0.8353 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1852, allocations: 117.8 kB / 0.8355 GB, free: 5.309 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.87e-05/0.1853, allocations: 29.7 kB / 0.8355 GB, free: 5.273 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.1853, allocations: 84.14 kB / 0.8356 GB, free: 5.188 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.1853, allocations: 8.078 kB / 0.8356 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.1854, allocations: 13.72 kB / 0.8356 GB, free: 5.16 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1855, allocations: 310.8 kB / 0.8359 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.1856, allocations: 4 kB / 0.8359 GB, free: 4.844 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.1856, allocations: 11.92 kB / 0.8359 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.1856, allocations: 8.859 kB / 0.8359 GB, free: 4.82 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1856, allocations: 0 / 0.8359 GB, free: 4.82 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.043e-05/0.1857, allocations: 37.7 kB / 0.8359 GB, free: 4.777 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1857, allocations: 4 kB / 0.8359 GB, free: 4.773 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.1857, allocations: 4.094 kB / 0.8359 GB, free: 4.77 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1857, allocations: 3.938 kB / 0.836 GB, free: 4.766 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.309e-05/0.1857, allocations: 7.984 kB / 0.836 GB, free: 4.758 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1857, allocations: 0 / 0.836 GB, free: 4.758 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.137e-05/0.1857, allocations: 0 / 0.836 GB, free: 4.758 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1857, allocations: 0 / 0.836 GB, free: 4.758 MB / 0.5763 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.577e-05/0.1858, allocations: 110.5 kB / 0.8361 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.1858, allocations: 3.953 kB / 0.8361 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.992e-05/0.1859, allocations: 49.09 kB / 0.8361 GB, free: 4.578 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1859, allocations: 3.938 kB / 0.8361 GB, free: 4.574 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.1859, allocations: 4.031 kB / 0.8361 GB, free: 4.57 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.1859, allocations: 0 / 0.8361 GB, free: 4.57 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.649e-05/0.186, allocations: 109.3 kB / 0.8362 GB, free: 4.434 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.186, allocations: 4 kB / 0.8362 GB, free: 4.43 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.1861, allocations: 0 / 0.8362 GB, free: 4.43 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1861, allocations: 0 / 0.8362 GB, free: 4.43 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.1861, allocations: 0 / 0.8362 GB, free: 4.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1861, allocations: 0 / 0.8362 GB, free: 4.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1861, allocations: 7.875 kB / 0.8362 GB, free: 4.422 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.001e-05/0.1861, allocations: 69.06 kB / 0.8363 GB, free: 4.336 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-06/0.1862, allocations: 7.984 kB / 0.8363 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.1862, allocations: 0 / 0.8363 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-06/0.1862, allocations: 0 / 0.8363 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.1862, allocations: 7.938 kB / 0.8363 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.1862, allocations: 0 / 0.8363 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 6.929e-05/0.1863, allocations: 91.27 kB / 0.8364 GB, free: 4.23 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.1863, allocations: 0 / 0.8364 GB, free: 4.23 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001883/0.1864, allocations: 11.94 kB / 0.8364 GB, free: 4.219 MB / 0.5763 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.000201/0.1866, allocations: 114.5 kB / 0.8365 GB, free: 4.102 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 6.787e-05/0.1867, allocations: 7.984 kB / 0.8365 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1867, allocations: 0 / 0.8365 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.1867, allocations: 7.938 kB / 0.8365 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.1869, allocations: 2.062 kB / 0.8365 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.1871, allocations: 115.3 kB / 0.8367 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.239e-05/0.1872, allocations: 67.47 kB / 0.8367 GB, free: 3.863 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 3.704e-05/0.1872, allocations: 0 / 0.8367 GB, free: 3.863 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.1872, allocations: 11.44 kB / 0.8367 GB, free: 3.852 MB / 0.5763 GB Notification: Performance of SimCode: time 3e-07/0.1872, allocations: 0 / 0.8367 GB, free: 3.852 MB / 0.5763 GB Notification: Performance of Templates: time 0.002636/0.1899, allocations: 0.5076 MB / 0.8372 GB, free: 3.352 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0870199501514435] Failed to read output from testmodel.py, exit status != 0: 0.1974592972546816 0.213527502 0.026542875 Calling exit ...