Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008946/0.0008945, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009026/0.0009027, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.007/1.007, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004726, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1665, allocations: 83.4 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001527/0.168, allocations: 1.112 MB / 0.5983 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.1688, allocations: 458.8 kB / 0.5988 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.1689, allocations: 0 / 0.5988 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.964e-05/0.169, allocations: 3.938 kB / 0.5988 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-05/0.169, allocations: 15.97 kB / 0.5988 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.1697, allocations: 186.7 kB / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1699, allocations: 87.84 kB / 0.5991 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.17, allocations: 11.97 kB / 0.5991 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.1701, allocations: 55.89 kB / 0.5991 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.1702, allocations: 43.84 kB / 0.5992 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1702, allocations: 4 kB / 0.5992 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.1704, allocations: 135.8 kB / 0.5993 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.1705, allocations: 31.91 kB / 0.5993 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.1706, allocations: 41.7 kB / 0.5994 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1708, allocations: 163.9 kB / 0.5995 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1709, allocations: 0 / 0.5995 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.026e-06/0.1709, allocations: 4 kB / 0.5995 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.1709, allocations: 3.938 kB / 0.5995 GB, free: 5.488 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005301/0.1714, allocations: 418.9 kB / 0.5999 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1715, allocations: 12.03 kB / 0.6 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.1715, allocations: 15.91 kB / 0.6 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.1718, allocations: 208.9 kB / 0.6002 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1718, allocations: 8 kB / 0.6002 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.1718, allocations: 12 kB / 0.6002 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.172, allocations: 79.39 kB / 0.6003 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.172, allocations: 3.938 kB / 0.6003 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.172, allocations: 0 / 0.6003 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.172, allocations: 0 / 0.6003 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.333e-05/0.1721, allocations: 43.92 kB / 0.6003 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.1724, allocations: 234.4 kB / 0.6005 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1725, allocations: 85.17 kB / 0.6006 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.1726, allocations: 0 / 0.6006 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.1728, allocations: 109.2 kB / 0.6007 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.1728, allocations: 0 / 0.6007 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004274/0.1732, allocations: 347.6 kB / 0.601 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.1733, allocations: 85.11 kB / 0.6011 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1734, allocations: 157.6 kB / 0.6013 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.1735, allocations: 33.7 kB / 0.6013 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.1736, allocations: 108.4 kB / 0.6014 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.1736, allocations: 35.55 kB / 0.6014 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.1736, allocations: 0 / 0.6014 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1737, allocations: 326.8 kB / 0.6018 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.1738, allocations: 40.17 kB / 0.6018 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.174, allocations: 195.8 kB / 0.602 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.962e-05/0.1741, allocations: 63.92 kB / 0.602 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1741, allocations: 0 / 0.602 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002419/0.1744, allocations: 165.3 kB / 0.6022 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1744, allocations: 4 kB / 0.6022 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.1744, allocations: 8 kB / 0.6022 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1745, allocations: 0 / 0.6022 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.1745, allocations: 15.98 kB / 0.6022 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1746, allocations: 0 / 0.6022 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.1749, allocations: 91.8 kB / 0.6023 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1749, allocations: 4 kB / 0.6023 GB, free: 2.293 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.175, allocations: 133.8 kB / 0.6024 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.175, allocations: 11.81 kB / 0.6025 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.1751, allocations: 16.8 kB / 0.6025 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1751, allocations: 8 kB / 0.6025 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1751, allocations: 0 / 0.6025 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1751, allocations: 0 / 0.6025 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1752, allocations: 193.6 kB / 0.6027 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1752, allocations: 3.938 kB / 0.6027 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.1753, allocations: 8 kB / 0.6027 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1753, allocations: 0 / 0.6027 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1753, allocations: 7.984 kB / 0.6027 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1753, allocations: 0 / 0.6027 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1753, allocations: 0 / 0.6027 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1756, allocations: 203 kB / 0.6029 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.1756, allocations: 84.95 kB / 0.603 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.1756, allocations: 8 kB / 0.603 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.616e-05/0.1757, allocations: 8 kB / 0.603 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.1757, allocations: 3.984 kB / 0.603 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1758, allocations: 7.953 kB / 0.603 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.206e-05/0.1758, allocations: 121.3 kB / 0.6031 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1758, allocations: 0 / 0.6031 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002998/0.1762, allocations: 71.98 kB / 0.6032 GB, free: 1.316 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002674/0.1764, allocations: 167.7 kB / 0.6033 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.1767, allocations: 159.3 kB / 0.6035 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1767, allocations: 3.938 kB / 0.6035 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.077e-05/0.1768, allocations: 47.92 kB / 0.6035 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.1769, allocations: 11.98 kB / 0.6035 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.1773, allocations: 238.5 kB / 0.6038 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2903/0.4676, allocations: 0.7082 MB / 0.6045 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000103/0.4678, allocations: 9.156 kB / 0.6045 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.4678, allocations: 12.84 kB / 0.6045 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of SimCode: time 1.283e-06/0.4678, allocations: 0 / 0.6045 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.007115/0.475, allocations: 2.352 MB / 0.6068 GB, free: 40.24 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) Environment - environmentSimulation: