Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1401/0.142, allocations: 80.83 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003205/0.1453, allocations: 1.45 MB / 0.672 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008875/0.1462, allocations: 395 kB / 0.6724 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.1463, allocations: 4 kB / 0.6724 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.904e-05/0.1464, allocations: 7.938 kB / 0.6724 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.1466, allocations: 15.86 kB / 0.6724 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.1473, allocations: 238.4 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.1477, allocations: 359.5 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.227e-05/0.1478, allocations: 12.16 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.148, allocations: 139.8 kB / 0.6731 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1482, allocations: 119.6 kB / 0.6732 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.097e-05/0.1482, allocations: 28 kB / 0.6733 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1483, allocations: 55.92 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.1484, allocations: 19.92 kB / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.1486, allocations: 111.6 kB / 0.6734 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.1489, allocations: 263.3 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1489, allocations: 0 / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.234e-06/0.1489, allocations: 0 / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.1489, allocations: 4 kB / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000696/0.1496, allocations: 0.5798 MB / 0.6743 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1497, allocations: 12.03 kB / 0.6743 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.1498, allocations: 24.84 kB / 0.6743 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1501, allocations: 251.9 kB / 0.6745 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1501, allocations: 12.38 kB / 0.6746 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.1502, allocations: 24.38 kB / 0.6746 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.1505, allocations: 189 kB / 0.6748 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1505, allocations: 192 / 0.6748 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.1506, allocations: 7.938 kB / 0.6748 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.1506, allocations: 0 / 0.6748 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1507, allocations: 91.89 kB / 0.6749 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.1511, allocations: 339.9 kB / 0.6752 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.1514, allocations: 242.5 kB / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.1516, allocations: 187.4 kB / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.1516, allocations: 0 / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004352/0.152, allocations: 329.5 kB / 0.6759 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 1.302e-06/0.152, allocations: 0 / 0.6759 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24): time 0.0007775/0.1528, allocations: 484.5 kB / 0.6764 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.153, allocations: 315 kB / 0.6767 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1532, allocations: 153.6 kB / 0.6768 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.1532, allocations: 45.7 kB / 0.6769 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/0.1533, allocations: 108.6 kB / 0.677 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.1534, allocations: 59.19 kB / 0.677 GB, free: 11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.1535, allocations: 89.67 kB / 0.6771 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1537, allocations: 326.8 kB / 0.6774 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.154, allocations: 191.9 kB / 0.6776 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.1543, allocations: 231.2 kB / 0.6778 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.1547, allocations: 435.3 kB / 0.6782 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1548, allocations: 3.938 kB / 0.6782 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001069/0.1558, allocations: 0.8222 MB / 0.679 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.156, allocations: 150.7 kB / 0.6792 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.156, allocations: 192 / 0.6792 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.156, allocations: 4 kB / 0.6792 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.1562, allocations: 15.86 kB / 0.6792 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1562, allocations: 0 / 0.6792 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.1567, allocations: 95.8 kB / 0.6793 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.1567, allocations: 23.98 kB / 0.6793 GB, free: 8.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.iPerSto,$PRE.occSchDay.iPerSto,occSchDay.iPerSta,$PRE.occSchDay.iPerSta,occSchDay.nexStoInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStaInd,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition4,$whenCondition3,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.iPerSto,$PRE.occSchWee.iPerSto,occSchWee.iPerSta,$PRE.occSchWee.iPerSta,occSchWee.nexStoInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStaInd,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002415/0.157, allocations: 239.8 kB / 0.6795 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.1571, allocations: 27.75 kB / 0.6796 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.1571, allocations: 16.7 kB / 0.6796 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1571, allocations: 4 kB / 0.6796 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1571, allocations: 4 kB / 0.6796 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1571, allocations: 4 kB / 0.6796 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.1574, allocations: 257.3 kB / 0.6798 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1574, allocations: 0 / 0.6798 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.1574, allocations: 4 kB / 0.6798 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1574, allocations: 3.938 kB / 0.6799 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.1575, allocations: 19.98 kB / 0.6799 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1575, allocations: 0 / 0.6799 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1575, allocations: 4 kB / 0.6799 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.1581, allocations: 482.5 kB / 0.6803 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.1582, allocations: 88.95 kB / 0.6804 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.1582, allocations: 19.94 kB / 0.6804 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.1585, allocations: 35.95 kB / 0.6805 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.1585, allocations: 11.98 kB / 0.6805 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.1586, allocations: 23.98 kB / 0.6805 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.39e-05/0.1587, allocations: 109.8 kB / 0.6806 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1587, allocations: 0 / 0.6806 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003317/0.159, allocations: 83.98 kB / 0.6807 GB, free: 6.973 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc) * Number of discrete states: 18 (occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,$whenCondition2,occSchWee.tOcc,occSchWee.iPerSta,occSchWee.occupied,occSchWee.nexStaInd,$whenCondition1,occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,$whenCondition4,occSchDay.tOcc,occSchDay.iPerSta,occSchDay.occupied,occSchDay.nexStaInd,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0002258/0.1592, allocations: 153.4 kB / 0.6808 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.1603, allocations: 0.8692 MB / 0.6817 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1603, allocations: 4.125 kB / 0.6817 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.1607, allocations: 0.569 MB / 0.6822 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.1609, allocations: 23.94 kB / 0.6823 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.1616, allocations: 397.8 kB / 0.6826 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1619, allocations: 0.7202 MB / 0.6834 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.1619, allocations: 4.672 kB / 0.6834 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1619, allocations: 15.42 kB / 0.6834 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of SimCode: time 1.673e-06/0.1619, allocations: 384 / 0.6834 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of Templates: time 0.007298/0.1692, allocations: 4.162 MB / 0.6874 GB, free: 15.96 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)