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.001008/0.001008, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 196.8 kB / 16.53 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 279 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9135/0.9135, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 93.05 kB / 0.5952 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.152, allocations: 86.98 MB / 0.6802 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002467/0.1545, allocations: 1.473 MB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1558, allocations: 1.1 MB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.1559, allocations: 7.938 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.1561, allocations: 23.84 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.1562, allocations: 35.84 kB / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.1564, allocations: 56.98 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1566, allocations: 143.6 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1567, allocations: 69.31 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.027e-05/0.1568, allocations: 83.69 kB / 0.6831 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.157, allocations: 55.7 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.157, allocations: 12 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.1571, allocations: 28 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.1572, allocations: 47.88 kB / 0.6832 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.1573, allocations: 71.58 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1575, allocations: 195.4 kB / 0.6835 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1575, allocations: 3.938 kB / 0.6835 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1575, allocations: 0 / 0.6835 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1575, allocations: 0 / 0.6835 GB, free: 13.31 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.0005893/0.1581, allocations: 498.7 kB / 0.684 GB, free: 12.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1582, allocations: 8.031 kB / 0.684 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.1582, allocations: 20.75 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.1585, allocations: 255.8 kB / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.1586, allocations: 127.4 kB / 0.6844 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1587, allocations: 8.312 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.159, allocations: 161.7 kB / 0.6845 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.159, allocations: 0 / 0.6845 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.159, allocations: 7.938 kB / 0.6845 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.159, allocations: 8 kB / 0.6845 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.1591, allocations: 43.97 kB / 0.6846 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009625/0.1601, allocations: 464.4 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.317e-05/0.1602, allocations: 34.56 kB / 0.6851 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.1602, allocations: 24.84 kB / 0.6851 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1602, allocations: 4 kB / 0.6851 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1603, allocations: 30.56 kB / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1603, allocations: 0 / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002376/0.1605, allocations: 113.8 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.1606, allocations: 55.41 kB / 0.6853 GB, free: 11.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1608, allocations: 224.3 kB / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1608, allocations: 25.7 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.1609, allocations: 124.1 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.1609, allocations: 23.7 kB / 0.6857 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.1609, allocations: 33.7 kB / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.161, allocations: 326.8 kB / 0.686 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-05/0.1611, allocations: 23.98 kB / 0.686 GB, free: 10.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.372e-05/0.1612, allocations: 106.3 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1613, allocations: 142.1 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1614, allocations: 4 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000223/0.1616, allocations: 149.2 kB / 0.6864 GB, free: 10.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.1616, allocations: 4.375 kB / 0.6864 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1616, allocations: 8.078 kB / 0.6864 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1616, allocations: 4 kB / 0.6864 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.1617, allocations: 27.92 kB / 0.6864 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1617, allocations: 11.92 kB / 0.6865 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.145e-05/0.1618, allocations: 15.84 kB / 0.6865 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1618, allocations: 4 kB / 0.6865 GB, free: 9.934 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.000108/0.1619, allocations: 146.4 kB / 0.6866 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.162, allocations: 11.81 kB / 0.6866 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.1622, allocations: 127.1 kB / 0.6867 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1622, allocations: 0 / 0.6867 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1622, allocations: 3.938 kB / 0.6868 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1622, allocations: 0 / 0.6868 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1624, allocations: 233.5 kB / 0.687 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1625, allocations: 0 / 0.687 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.1625, allocations: 23.91 kB / 0.687 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1625, allocations: 0 / 0.687 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1625, allocations: 4 kB / 0.687 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1625, allocations: 3.938 kB / 0.687 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1625, allocations: 7.938 kB / 0.687 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.1627, allocations: 183.3 kB / 0.6872 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.1628, allocations: 92.86 kB / 0.6873 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1628, allocations: 0 / 0.6873 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.1631, allocations: 23.97 kB / 0.6873 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.1631, allocations: 7.938 kB / 0.6873 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.1631, allocations: 15.97 kB / 0.6873 GB, free: 8.969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1633, allocations: 165.5 kB / 0.6875 GB, free: 8.809 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1633, allocations: 0 / 0.6875 GB, free: 8.809 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.1636, allocations: 35.84 kB / 0.6875 GB, free: 8.773 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.0001988/0.1638, allocations: 118.2 kB / 0.6876 GB, free: 8.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1639, allocations: 79.83 kB / 0.6877 GB, free: 8.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.164, allocations: 0 / 0.6877 GB, free: 8.574 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.164, allocations: 23.98 kB / 0.6877 GB, free: 8.551 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.1643, allocations: 26.47 kB / 0.6877 GB, free: 8.527 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.1647, allocations: 287.1 kB / 0.688 GB, free: 8.219 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.165, allocations: 0.7314 MB / 0.6887 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1651, allocations: 56.72 kB / 0.6888 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.1652, allocations: 19.44 kB / 0.6888 GB, free: 7.387 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1652, allocations: 0 / 0.6888 GB, free: 7.387 MB / 494.1 MB Notification: Performance of Templates: time 0.004724/0.1699, allocations: 2.369 MB / 0.6911 GB, free: 5.043 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)