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.1835/0.1842, allocations: 82.22 MB / 0.5935 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00169/0.1859, allocations: 1.146 MB / 0.5946 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000669/0.1866, allocations: 383.8 kB / 0.5949 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.1866, allocations: 0 / 0.5949 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.047e-05/0.1867, allocations: 3.938 kB / 0.5949 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.1869, allocations: 15.91 kB / 0.595 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.1874, allocations: 207.6 kB / 0.5952 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1877, allocations: 255.6 kB / 0.5954 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.1877, allocations: 4.234 kB / 0.5954 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1879, allocations: 119.8 kB / 0.5955 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.1881, allocations: 103.7 kB / 0.5956 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.1881, allocations: 12 kB / 0.5956 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.1882, allocations: 35.98 kB / 0.5957 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.1883, allocations: 23.86 kB / 0.5957 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.447e-05/0.1884, allocations: 61.69 kB / 0.5958 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1886, allocations: 175.8 kB / 0.5959 GB, free: 3.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1886, allocations: 4 kB / 0.5959 GB, free: 3.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1886, allocations: 0 / 0.5959 GB, free: 3.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1886, allocations: 4 kB / 0.5959 GB, free: 3.426 MB / 446.1 MB 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.0005211/0.1891, allocations: 0.529 MB / 0.5964 GB, free: 2.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1892, allocations: 8.031 kB / 0.5965 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.1893, allocations: 31.75 kB / 0.5965 GB, free: 2.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1896, allocations: 230.9 kB / 0.5967 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.1896, allocations: 16 kB / 0.5967 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.1897, allocations: 27.95 kB / 0.5967 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.19, allocations: 185 kB / 0.5969 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.19, allocations: 0 / 0.5969 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.19, allocations: 8 kB / 0.5969 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.19, allocations: 0 / 0.5969 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1902, allocations: 91.89 kB / 0.597 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.1906, allocations: 340 kB / 0.5973 GB, free: 1.789 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.1908, allocations: 234.5 kB / 0.5976 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.191, allocations: 195.5 kB / 0.5977 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1911, allocations: 8 kB / 0.5978 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004017/0.1915, allocations: 334 kB / 0.5981 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.183e-06/0.1915, allocations: 0 / 0.5981 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007561/0.1923, allocations: 476.3 kB / 0.5985 GB, free: 468 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.1924, allocations: 310.7 kB / 0.5988 GB, free: 88 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1926, allocations: 159.8 kB / 0.599 GB, free: 15.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.1926, allocations: 41.7 kB / 0.599 GB, free: 15.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.1927, allocations: 104.6 kB / 0.5991 GB, free: 15.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.1928, allocations: 63.17 kB / 0.5992 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1928, allocations: 16 kB / 0.5992 GB, free: 15.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1929, allocations: 330.8 kB / 0.5995 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.1932, allocations: 195.9 kB / 0.5997 GB, free: 15.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.1936, allocations: 223.3 kB / 0.5999 GB, free: 14.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.1939, allocations: 288.7 kB / 0.6002 GB, free: 14.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1939, allocations: 0 / 0.6002 GB, free: 14.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001081/0.195, allocations: 0.8295 MB / 0.601 GB, free: 13.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.1951, allocations: 146.8 kB / 0.6011 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.1952, allocations: 0 / 0.6011 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1952, allocations: 4 kB / 0.6011 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1953, allocations: 15.92 kB / 0.6012 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1953, allocations: 0 / 0.6012 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.1959, allocations: 127.8 kB / 0.6013 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.196, allocations: 35.97 kB / 0.6013 GB, free: 13.42 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.1962, allocations: 240.6 kB / 0.6015 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.1963, allocations: 27.75 kB / 0.6016 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.1963, allocations: 16.7 kB / 0.6016 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1963, allocations: 0 / 0.6016 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1963, allocations: 0 / 0.6016 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1963, allocations: 4 kB / 0.6016 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.1966, allocations: 261.3 kB / 0.6018 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1966, allocations: 4 kB / 0.6018 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.1966, allocations: 4 kB / 0.6018 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1966, allocations: 4 kB / 0.6018 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.1966, allocations: 11.98 kB / 0.6019 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1967, allocations: 4 kB / 0.6019 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1967, allocations: 0 / 0.6019 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.1973, allocations: 477.7 kB / 0.6023 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.1974, allocations: 88.92 kB / 0.6024 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.1974, allocations: 16.19 kB / 0.6024 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.1978, allocations: 63.92 kB / 0.6025 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.1978, allocations: 27.91 kB / 0.6025 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.1979, allocations: 8 kB / 0.6025 GB, free: 12.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.041e-05/0.198, allocations: 118.2 kB / 0.6026 GB, free: 11.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.198, allocations: 3.938 kB / 0.6026 GB, free: 11.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000337/0.1983, allocations: 91.98 kB / 0.6027 GB, free: 11.86 MB / 462.1 MB 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 (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.0001914/0.1985, allocations: 139.7 kB / 0.6028 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.1995, allocations: 0.8723 MB / 0.6037 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1995, allocations: 4 kB / 0.6037 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.2001, allocations: 0.5612 MB / 0.6043 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.2003, allocations: 27.95 kB / 0.6043 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.201, allocations: 429.4 kB / 0.6047 GB, free: 9.719 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.2014, allocations: 0.7211 MB / 0.6054 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.226e-05/0.2014, allocations: 8.609 kB / 0.6054 GB, free: 8.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.2014, allocations: 11.44 kB / 0.6054 GB, free: 8.953 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2014, allocations: 0 / 0.6054 GB, free: 8.953 MB / 462.1 MB Notification: Performance of Templates: time 0.006816/0.2082, allocations: 3.702 MB / 0.609 GB, free: 5.312 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: