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.0009615/0.0009616, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007794/0.007794, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001725/0.001725, allocations: 274.1 kB / 291.7 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9563/0.9563, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003938, allocations: 12.81 kB / 0.5987 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1569, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001623/0.1586, allocations: 1.194 MB / 0.6863 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1599, allocations: 1.068 MB / 0.6873 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.1599, allocations: 4 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.1601, allocations: 18.19 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1602, allocations: 31.86 kB / 0.6874 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1604, allocations: 54.3 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1606, allocations: 144.1 kB / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1607, allocations: 56.67 kB / 0.6876 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.1608, allocations: 72.42 kB / 0.6877 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.161, allocations: 52.31 kB / 0.6878 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.161, allocations: 4 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/0.1611, allocations: 16.62 kB / 0.6878 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.1612, allocations: 43.88 kB / 0.6878 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.699e-05/0.1612, allocations: 95.19 kB / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1615, allocations: 183.4 kB / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1615, allocations: 0 / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1615, allocations: 0 / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1615, allocations: 0 / 0.6881 GB, free: 12.01 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.0005511/0.162, allocations: 462.8 kB / 0.6885 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1621, allocations: 8.031 kB / 0.6885 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.1621, allocations: 20.69 kB / 0.6886 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1624, allocations: 251.9 kB / 0.6888 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.1626, allocations: 127.3 kB / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1626, allocations: 4.375 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.1629, allocations: 175.9 kB / 0.6891 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1629, allocations: 3.984 kB / 0.6891 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.163, allocations: 4 kB / 0.6891 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.163, allocations: 8 kB / 0.6891 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.586e-05/0.1631, allocations: 47.91 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000993/0.1641, allocations: 480.4 kB / 0.6896 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.617e-05/0.1642, allocations: 34.56 kB / 0.6896 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.1642, allocations: 24.84 kB / 0.6897 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1642, allocations: 8.141 kB / 0.6897 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.1643, allocations: 30.56 kB / 0.6897 GB, free: 10.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1643, allocations: 0 / 0.6897 GB, free: 10.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002352/0.1645, allocations: 109.4 kB / 0.6898 GB, free: 10.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1645, allocations: 55.41 kB / 0.6899 GB, free: 9.988 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1648, allocations: 216.4 kB / 0.6901 GB, free: 9.766 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1648, allocations: 33.7 kB / 0.6901 GB, free: 9.727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.1649, allocations: 124.1 kB / 0.6902 GB, free: 9.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1649, allocations: 23.62 kB / 0.6902 GB, free: 9.578 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.1649, allocations: 21.7 kB / 0.6903 GB, free: 9.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1651, allocations: 326.8 kB / 0.6906 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.1651, allocations: 23.98 kB / 0.6906 GB, free: 9.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.289e-05/0.1652, allocations: 106.2 kB / 0.6907 GB, free: 9.059 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.1654, allocations: 134.2 kB / 0.6908 GB, free: 8.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1654, allocations: 8 kB / 0.6908 GB, free: 8.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000219/0.1656, allocations: 149.2 kB / 0.691 GB, free: 8.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1656, allocations: 8 kB / 0.691 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1657, allocations: 0 / 0.691 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1657, allocations: 4 kB / 0.691 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.1658, allocations: 32.3 kB / 0.691 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1658, allocations: 11.94 kB / 0.691 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.1659, allocations: 11.84 kB / 0.691 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1659, allocations: 4 kB / 0.691 GB, free: 8.66 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.000121/0.166, allocations: 150.4 kB / 0.6912 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.166, allocations: 11.81 kB / 0.6912 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.1663, allocations: 123.1 kB / 0.6913 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1663, allocations: 0 / 0.6913 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1663, allocations: 7.938 kB / 0.6913 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1663, allocations: 0 / 0.6913 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.1665, allocations: 225.6 kB / 0.6915 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1665, allocations: 0 / 0.6915 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.1666, allocations: 23.92 kB / 0.6916 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1666, allocations: 0 / 0.6916 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1666, allocations: 8 kB / 0.6916 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1666, allocations: 0 / 0.6916 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1666, allocations: 3.938 kB / 0.6916 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1668, allocations: 191.7 kB / 0.6918 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.1668, allocations: 92.92 kB / 0.6918 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1669, allocations: 11.92 kB / 0.6919 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.1671, allocations: 19.98 kB / 0.6919 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.1672, allocations: 11.92 kB / 0.6919 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.1672, allocations: 23.92 kB / 0.6919 GB, free: 7.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1673, allocations: 161.4 kB / 0.6921 GB, free: 7.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1673, allocations: 0 / 0.6921 GB, free: 7.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.1676, allocations: 31.94 kB / 0.6921 GB, free: 7.488 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.0002321/0.1679, allocations: 127.8 kB / 0.6922 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.168, allocations: 67.84 kB / 0.6923 GB, free: 7.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.168, allocations: 0 / 0.6923 GB, free: 7.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.1681, allocations: 23.98 kB / 0.6923 GB, free: 7.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.1684, allocations: 20.67 kB / 0.6923 GB, free: 7.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.1689, allocations: 342.1 kB / 0.6926 GB, free: 6.887 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1692, allocations: 0.7355 MB / 0.6934 GB, free: 6.125 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1693, allocations: 56.72 kB / 0.6934 GB, free: 6.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.1693, allocations: 15.44 kB / 0.6934 GB, free: 6.055 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1693, allocations: 0 / 0.6934 GB, free: 6.055 MB / 494.1 MB Notification: Performance of Templates: time 0.004858/0.1742, allocations: 2.305 MB / 0.6957 GB, free: 3.781 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)