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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001101/0.001101, allocations: 189.7 kB / 16.14 MB, free: 6.707 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 295 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9321/0.9321, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001747, allocations: 87.62 kB / 0.5945 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1536, allocations: 86.99 MB / 0.6794 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002779/0.1564, allocations: 1.539 MB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1578, allocations: 1.08 MB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.1579, allocations: 0 / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.158, allocations: 12.55 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.1582, allocations: 31.84 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.1584, allocations: 60.5 kB / 0.6821 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1586, allocations: 151.5 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.1587, allocations: 57.33 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.1588, allocations: 75.75 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.159, allocations: 55.72 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.159, allocations: 4 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.11e-05/0.1591, allocations: 27.97 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.1592, allocations: 43.83 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.1592, allocations: 67.58 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1595, allocations: 191.4 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1595, allocations: 0 / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1595, allocations: 0 / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1595, allocations: 4 kB / 0.6827 GB, free: 13.82 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.0006247/0.1601, allocations: 496.9 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1602, allocations: 12.03 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.1602, allocations: 16.75 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1605, allocations: 251.8 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.1607, allocations: 123.3 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1607, allocations: 4.375 kB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.1611, allocations: 165.7 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1611, allocations: 0 / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.1611, allocations: 0 / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.1611, allocations: 15.92 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.117e-05/0.1612, allocations: 39.98 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1622, allocations: 456.4 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.904e-05/0.1623, allocations: 38.52 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.1624, allocations: 20.84 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1624, allocations: 12.08 kB / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1624, allocations: 38.56 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.1624, allocations: 3.938 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002687/0.1627, allocations: 113.4 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1628, allocations: 51.41 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.163, allocations: 220.3 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.163, allocations: 25.7 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.1631, allocations: 128.1 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.1631, allocations: 23.72 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.1632, allocations: 33.7 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1633, allocations: 322.8 kB / 0.6852 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.1634, allocations: 31.97 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1635, allocations: 94.3 kB / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.1637, allocations: 138.1 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.1637, allocations: 4 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002322/0.1639, allocations: 153.2 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1639, allocations: 7.984 kB / 0.6856 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.164, allocations: 4 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.164, allocations: 4 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1641, allocations: 27.92 kB / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1641, allocations: 11.92 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.1642, allocations: 16.22 kB / 0.6857 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1642, allocations: 8 kB / 0.6857 GB, free: 10.46 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.000124/0.1643, allocations: 146.4 kB / 0.6859 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.1644, allocations: 11.81 kB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.1646, allocations: 119.1 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1646, allocations: 7.938 kB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1646, allocations: 3.938 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1647, allocations: 3.984 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.1649, allocations: 229.6 kB / 0.6862 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1649, allocations: 0 / 0.6862 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.165, allocations: 15.98 kB / 0.6862 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.165, allocations: 0 / 0.6862 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.165, allocations: 8 kB / 0.6862 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.165, allocations: 0 / 0.6862 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.165, allocations: 7.875 kB / 0.6862 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1652, allocations: 183.3 kB / 0.6864 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.1653, allocations: 88.92 kB / 0.6865 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.1653, allocations: 11.98 kB / 0.6865 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.1656, allocations: 15.98 kB / 0.6865 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.1656, allocations: 11.92 kB / 0.6865 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.1656, allocations: 11.98 kB / 0.6866 GB, free: 9.504 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1657, allocations: 161.5 kB / 0.6867 GB, free: 9.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1658, allocations: 0 / 0.6867 GB, free: 9.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.1661, allocations: 43.78 kB / 0.6868 GB, free: 9.305 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.0002454/0.1663, allocations: 123.4 kB / 0.6869 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.1665, allocations: 72.53 kB / 0.6869 GB, free: 9.109 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1665, allocations: 4.062 kB / 0.6869 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.1666, allocations: 27.92 kB / 0.687 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1669, allocations: 20 kB / 0.687 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.1674, allocations: 336.7 kB / 0.6873 GB, free: 8.699 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1677, allocations: 0.7278 MB / 0.688 GB, free: 7.945 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.1678, allocations: 52.78 kB / 0.6881 GB, free: 7.895 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.1679, allocations: 23.44 kB / 0.6881 GB, free: 7.871 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1679, allocations: 0 / 0.6881 GB, free: 7.871 MB / 494.1 MB Notification: Performance of Templates: time 0.004917/0.1728, allocations: 2.313 MB / 0.6904 GB, free: 5.586 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)