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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009714, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 286.9 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9422/0.9422, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 92.91 kB / 0.5947 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1795, allocations: 86.99 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002767/0.1823, allocations: 1.54 MB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1836, allocations: 1.083 MB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.1837, allocations: 0 / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.1839, allocations: 7.938 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1841, allocations: 32.5 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.1842, allocations: 57.52 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1844, allocations: 151.6 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1846, allocations: 60.02 kB / 0.6825 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.1847, allocations: 87.69 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1849, allocations: 59.7 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.1849, allocations: 12 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.642e-05/0.185, allocations: 23.98 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.1851, allocations: 47.89 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.1851, allocations: 71.56 kB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.1854, allocations: 199.4 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1854, allocations: 0 / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1854, allocations: 4 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1854, allocations: 7.938 kB / 0.683 GB, free: 13.63 MB / 494.1 MB 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.0006263/0.186, allocations: 482.7 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1861, allocations: 15.97 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.1862, allocations: 16.75 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.1864, allocations: 255.8 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.1866, allocations: 119.4 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1866, allocations: 12.38 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.1869, allocations: 159.8 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1869, allocations: 3.984 kB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.187, allocations: 0 / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.187, allocations: 15.98 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.1871, allocations: 43.91 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000987/0.1881, allocations: 460.4 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.639e-05/0.1881, allocations: 42.44 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.1882, allocations: 24.84 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1882, allocations: 4 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1882, allocations: 38.55 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.1883, allocations: 4 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002545/0.1885, allocations: 97.48 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.1886, allocations: 55.34 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.1888, allocations: 220.3 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.1888, allocations: 37.69 kB / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.1889, allocations: 120.3 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.1889, allocations: 23.7 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.189, allocations: 33.7 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1891, allocations: 326.8 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.1891, allocations: 31.91 kB / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.285e-05/0.1892, allocations: 98.3 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1894, allocations: 138.1 kB / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1894, allocations: 8 kB / 0.6857 GB, free: 10.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002156/0.1896, allocations: 153.2 kB / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1897, allocations: 4 kB / 0.6859 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1897, allocations: 4 kB / 0.6859 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1897, allocations: 4 kB / 0.6859 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.1898, allocations: 24.36 kB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1898, allocations: 15.88 kB / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.963e-05/0.1899, allocations: 15.84 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1899, allocations: 4 kB / 0.686 GB, free: 10.27 MB / 494.1 MB 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.0001113/0.19, allocations: 146.5 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.1901, allocations: 11.81 kB / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.1903, allocations: 123.1 kB / 0.6862 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1903, allocations: 0 / 0.6862 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1903, allocations: 7.938 kB / 0.6862 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1903, allocations: 0 / 0.6862 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.1905, allocations: 229.6 kB / 0.6864 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1905, allocations: 3.984 kB / 0.6865 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.1906, allocations: 12 kB / 0.6865 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1906, allocations: 0 / 0.6865 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.1906, allocations: 4 kB / 0.6865 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1906, allocations: 0 / 0.6865 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.1906, allocations: 3.938 kB / 0.6865 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.1908, allocations: 187.3 kB / 0.6866 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.1908, allocations: 96.91 kB / 0.6867 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1909, allocations: 4 kB / 0.6867 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1911, allocations: 15.92 kB / 0.6868 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.1911, allocations: 15.86 kB / 0.6868 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.1912, allocations: 15.98 kB / 0.6868 GB, free: 9.309 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1913, allocations: 157.5 kB / 0.6869 GB, free: 9.156 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1913, allocations: 4 kB / 0.6869 GB, free: 9.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.1916, allocations: 35.84 kB / 0.687 GB, free: 9.117 MB / 494.1 MB 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.0002289/0.1918, allocations: 128.9 kB / 0.6871 GB, free: 8.988 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.192, allocations: 75.84 kB / 0.6872 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.192, allocations: 0 / 0.6872 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.1921, allocations: 31.92 kB / 0.6872 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.1924, allocations: 21.69 kB / 0.6872 GB, free: 8.863 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.1929, allocations: 336.5 kB / 0.6875 GB, free: 8.508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1931, allocations: 0.7314 MB / 0.6883 GB, free: 7.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.1932, allocations: 52.78 kB / 0.6883 GB, free: 7.699 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.1933, allocations: 15.44 kB / 0.6883 GB, free: 7.684 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1933, allocations: 0 / 0.6883 GB, free: 7.684 MB / 494.1 MB Notification: Performance of Templates: time 0.004644/0.1979, allocations: 2.38 MB / 0.6906 GB, free: 5.332 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)