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.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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000762/0.0007621, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.0008163/0.0008164, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.35/1.35, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001641/0.001641, allocations: 274.1 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9335/0.9335, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004462, allocations: 14 kB / 0.5987 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1671, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001484/0.1686, allocations: 1.085 MB / 0.6862 GB, free: 14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001364/0.1688, allocations: 39.83 kB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.1688, allocations: 8.406 kB / 0.6862 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.169, allocations: 7.984 kB / 0.6862 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.482e-05/0.1691, allocations: 17.11 kB / 0.6863 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.685e-06/0.1691, allocations: 0 / 0.6863 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.472e-05/0.1691, allocations: 15.94 kB / 0.6863 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.1692, allocations: 5.938 kB / 0.6863 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.682e-05/0.1692, allocations: 3.938 kB / 0.6863 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.1693, allocations: 7.984 kB / 0.6863 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1693, allocations: 0 / 0.6863 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.1694, allocations: 16.8 kB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.1694, allocations: 3.938 kB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.1695, allocations: 37.64 kB / 0.6863 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9e-05/0.1695, allocations: 26.19 kB / 0.6864 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1696, allocations: 8 kB / 0.6864 GB, free: 13.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1696, allocations: 3.984 kB / 0.6864 GB, free: 13.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1696, allocations: 0 / 0.6864 GB, free: 13.8 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002882/0.1699, allocations: 319.8 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1699, allocations: 9.5 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.1699, allocations: 8.922 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.1701, allocations: 176.4 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.1701, allocations: 1.562 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1701, allocations: 384 / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.331e-05/0.1702, allocations: 34.2 kB / 0.6869 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1702, allocations: 4.922 kB / 0.6869 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.1703, allocations: 3.938 kB / 0.6869 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.1703, allocations: 7.062 kB / 0.6869 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.1703, allocations: 4 kB / 0.6869 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.1704, allocations: 157.6 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.258e-05/0.1705, allocations: 18.58 kB / 0.6871 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.1705, allocations: 12.91 kB / 0.6871 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1705, allocations: 5.406 kB / 0.6871 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1706, allocations: 30.56 kB / 0.6871 GB, free: 12.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1706, allocations: 0.6562 kB / 0.6871 GB, free: 12.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001163/0.1707, allocations: 43.36 kB / 0.6872 GB, free: 12.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1707, allocations: 51.41 kB / 0.6872 GB, free: 12.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1708, allocations: 121.8 kB / 0.6873 GB, free: 12.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1709, allocations: 25.7 kB / 0.6874 GB, free: 12.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.1709, allocations: 85 kB / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.1709, allocations: 0.7188 kB / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.1709, allocations: 13.66 kB / 0.6875 GB, free: 12.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.171, allocations: 320.3 kB / 0.6878 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.1711, allocations: 0 / 0.6878 GB, free: 12.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.1711, allocations: 3.938 kB / 0.6878 GB, free: 12.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.1711, allocations: 14.05 kB / 0.6878 GB, free: 12.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1711, allocations: 4 kB / 0.6878 GB, free: 12.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.359e-05/0.1712, allocations: 41.78 kB / 0.6878 GB, free: 12.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1712, allocations: 8 kB / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1712, allocations: 3.938 kB / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1712, allocations: 0 / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.1713, allocations: 0 / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1713, allocations: 0 / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.1713, allocations: 4 kB / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1713, allocations: 0 / 0.6878 GB, free: 12.09 MB / 494.1 MB 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.043e-05/0.1714, allocations: 119.1 kB / 0.688 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.1714, allocations: 8.031 kB / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.929e-05/0.1715, allocations: 37.17 kB / 0.688 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.1715, allocations: 0 / 0.688 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1715, allocations: 4 kB / 0.688 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1715, allocations: 3.984 kB / 0.688 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.924e-05/0.1716, allocations: 153.7 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1716, allocations: 0 / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.1716, allocations: 0 / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1716, allocations: 0 / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1717, allocations: 7.938 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1717, allocations: 4.031 kB / 0.6882 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1717, allocations: 0 / 0.6882 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.755e-05/0.1717, allocations: 68.97 kB / 0.6882 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.1718, allocations: 81.11 kB / 0.6883 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1718, allocations: 3.938 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-06/0.1718, allocations: 0 / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.1718, allocations: 4 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.1718, allocations: 7.969 kB / 0.6883 GB, free: 11.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.041e-05/0.1719, allocations: 91.27 kB / 0.6884 GB, free: 11.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1719, allocations: 0 / 0.6884 GB, free: 11.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.1721, allocations: 8 kB / 0.6884 GB, free: 11.39 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 (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.0001864/0.1723, allocations: 117.5 kB / 0.6885 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.803e-05/0.1723, allocations: 12 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1724, allocations: 0 / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.1724, allocations: 7.938 kB / 0.6886 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.1725, allocations: 5.906 kB / 0.6886 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.1728, allocations: 112.7 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.173, allocations: 0.6849 MB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.173, allocations: 4 kB / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.1731, allocations: 7.438 kB / 0.6893 GB, free: 10.39 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1731, allocations: 0 / 0.6893 GB, free: 10.39 MB / 494.1 MB Notification: Performance of Templates: time 0.00241/0.1755, allocations: 498.1 kB / 0.6898 GB, free: 9.91 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (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)