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.2346/0.2366, allocations: 80.85 MB / 0.5899 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003557/0.2402, allocations: 1.498 MB / 0.5913 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.2413, allocations: 395.7 kB / 0.5917 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.2413, allocations: 0 / 0.5917 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.2415, allocations: 3.938 kB / 0.5917 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.2417, allocations: 11.92 kB / 0.5917 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007321/0.2425, allocations: 231.2 kB / 0.592 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.2429, allocations: 355.6 kB / 0.5923 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.703e-05/0.243, allocations: 8.219 kB / 0.5923 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.2433, allocations: 147.7 kB / 0.5924 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.2434, allocations: 99.73 kB / 0.5925 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/0.2435, allocations: 28 kB / 0.5926 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.2436, allocations: 51.98 kB / 0.5926 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/0.2437, allocations: 15.92 kB / 0.5926 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2439, allocations: 119.6 kB / 0.5927 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.2443, allocations: 259.7 kB / 0.593 GB, free: 3.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.2443, allocations: 3.938 kB / 0.593 GB, free: 3.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2443, allocations: 0 / 0.593 GB, free: 3.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.2444, allocations: 0 / 0.593 GB, free: 3.758 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.0008738/0.2452, allocations: 0.5837 MB / 0.5936 GB, free: 3.098 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.2453, allocations: 12.03 kB / 0.5936 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.2454, allocations: 28.75 kB / 0.5936 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.2458, allocations: 236.1 kB / 0.5938 GB, free: 2.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.2458, allocations: 12.38 kB / 0.5938 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.2459, allocations: 28.38 kB / 0.5939 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.2463, allocations: 185.5 kB / 0.594 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2463, allocations: 192 / 0.594 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.2464, allocations: 7.938 kB / 0.594 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2464, allocations: 0 / 0.594 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.2466, allocations: 91.89 kB / 0.5941 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.2471, allocations: 339.9 kB / 0.5945 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.2475, allocations: 242.5 kB / 0.5947 GB, free: 1.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.2477, allocations: 191.6 kB / 0.5949 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.2478, allocations: 3.938 kB / 0.5949 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005757/0.2483, allocations: 330 kB / 0.5952 GB, free: 1.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.2484, allocations: 0 / 0.5952 GB, free: 1.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008719/0.2492, allocations: 487.4 kB / 0.5957 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002111/0.2495, allocations: 306.7 kB / 0.596 GB, free: 364 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.2496, allocations: 153.7 kB / 0.5961 GB, free: 200 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.2497, allocations: 49.69 kB / 0.5961 GB, free: 144 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.17e-05/0.2498, allocations: 108.6 kB / 0.5962 GB, free: 28 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.2499, allocations: 59.36 kB / 0.5963 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.2501, allocations: 89.98 kB / 0.5964 GB, free: 15.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003691/0.2505, allocations: 334.8 kB / 0.5967 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.2508, allocations: 187.9 kB / 0.5969 GB, free: 15.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.2512, allocations: 237.9 kB / 0.5971 GB, free: 15.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.2518, allocations: 441 kB / 0.5975 GB, free: 14.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2518, allocations: 0 / 0.5975 GB, free: 14.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001304/0.2531, allocations: 0.8218 MB / 0.5983 GB, free: 13.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.2533, allocations: 154.7 kB / 0.5985 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2533, allocations: 0 / 0.5985 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.2533, allocations: 4 kB / 0.5985 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.2535, allocations: 7.984 kB / 0.5985 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2535, allocations: 0 / 0.5985 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.2541, allocations: 99.7 kB / 0.5986 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.2541, allocations: 27.92 kB / 0.5986 GB, free: 13.47 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 (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.0004135/0.2545, allocations: 240.6 kB / 0.5988 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.2546, allocations: 27.83 kB / 0.5989 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.2546, allocations: 16.72 kB / 0.5989 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2547, allocations: 4 kB / 0.5989 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2547, allocations: 0 / 0.5989 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.2547, allocations: 0 / 0.5989 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.2549, allocations: 265.3 kB / 0.5991 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2549, allocations: 0 / 0.5991 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.255, allocations: 4 kB / 0.5992 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.255, allocations: 3.938 kB / 0.5992 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.255, allocations: 19.98 kB / 0.5992 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.255, allocations: 3.938 kB / 0.5992 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.255, allocations: 8 kB / 0.5992 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/0.2558, allocations: 469.9 kB / 0.5996 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.256, allocations: 92.91 kB / 0.5997 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.2561, allocations: 23.88 kB / 0.5997 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.2563, allocations: 35.97 kB / 0.5998 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.2564, allocations: 11.98 kB / 0.5998 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.2565, allocations: 23.92 kB / 0.5998 GB, free: 12.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.524e-05/0.2566, allocations: 111.2 kB / 0.5999 GB, free: 12.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2566, allocations: 0 / 0.5999 GB, free: 12.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.2569, allocations: 88 kB / 0.6 GB, free: 11.93 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 (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.0002336/0.2572, allocations: 136.5 kB / 0.6001 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.2582, allocations: 0.8762 MB / 0.601 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2582, allocations: 0 / 0.601 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006666/0.2589, allocations: 0.569 MB / 0.6015 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.2592, allocations: 19.94 kB / 0.6016 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008861/0.2601, allocations: 434.3 kB / 0.602 GB, free: 9.793 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.2606, allocations: 0.7248 MB / 0.6027 GB, free: 9.039 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.842e-05/0.2606, allocations: 8.656 kB / 0.6027 GB, free: 9.031 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.445e-05/0.2607, allocations: 15.44 kB / 0.6027 GB, free: 9.016 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2607, allocations: 0 / 0.6027 GB, free: 9.016 MB / 462.1 MB Notification: Performance of Templates: time 0.008942/0.2696, allocations: 4.063 MB / 0.6067 GB, free: 5.023 MB / 462.1 MB 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)