Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.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.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType") [/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.135/0.1369, allocations: 80.85 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.002166/0.1391, allocations: 1.42 MB / 0.672 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005183/0.1396, allocations: 271.1 kB / 0.6722 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.1397, allocations: 0 / 0.6722 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.1398, allocations: 15.88 kB / 0.6723 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.868e-05/0.1399, allocations: 27.72 kB / 0.6723 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.1402, allocations: 87.84 kB / 0.6724 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.1404, allocations: 232 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.1405, allocations: 5.125 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.091e-05/0.1405, allocations: 91.75 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1407, allocations: 99.7 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.1407, allocations: 16 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.905e-05/0.1407, allocations: 16 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.601e-05/0.1408, allocations: 83.77 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.1409, allocations: 119.3 kB / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1412, allocations: 255 kB / 0.6732 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1412, allocations: 0 / 0.6732 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1412, allocations: 0 / 0.6732 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1412, allocations: 0 / 0.6732 GB, free: 15.31 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007916/0.142, allocations: 0.6901 MB / 0.6739 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.142, allocations: 12.03 kB / 0.6739 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/0.1421, allocations: 32.56 kB / 0.674 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.1424, allocations: 266.8 kB / 0.6742 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.1424, allocations: 20.66 kB / 0.6742 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.1424, allocations: 20.38 kB / 0.6743 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.1429, allocations: 463.2 kB / 0.6747 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.143, allocations: 192 / 0.6747 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.143, allocations: 7.938 kB / 0.6747 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.143, allocations: 4 kB / 0.6747 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.1433, allocations: 327.7 kB / 0.675 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.1438, allocations: 0.5624 MB / 0.6756 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.1449, allocations: 1.03 MB / 0.6766 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006277/0.1455, allocations: 0.6556 MB / 0.6772 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1455, allocations: 11.84 kB / 0.6772 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/0.146, allocations: 478.3 kB / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=37): time 1.472e-06/0.146, allocations: 0 / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37): time 0.001249/0.1473, allocations: 1.112 MB / 0.6788 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.1474, allocations: 144.5 kB / 0.6789 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1476, allocations: 252.8 kB / 0.6791 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.1476, allocations: 33.7 kB / 0.6792 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.1477, allocations: 129 kB / 0.6793 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/0.1477, allocations: 83.14 kB / 0.6794 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.1479, allocations: 110.1 kB / 0.6795 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.148, allocations: 338.8 kB / 0.6798 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.1483, allocations: 336.6 kB / 0.6801 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.1487, allocations: 422.5 kB / 0.6805 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007419/0.1494, allocations: 0.7756 MB / 0.6813 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1495, allocations: 3.938 kB / 0.6813 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008609/0.1503, allocations: 0.8281 MB / 0.6821 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1504, allocations: 11.94 kB / 0.6821 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1504, allocations: 0 / 0.6821 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1504, allocations: 8 kB / 0.6821 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1505, allocations: 39.89 kB / 0.6822 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1505, allocations: 12 kB / 0.6822 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1508, allocations: 31.69 kB / 0.6822 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.151, allocations: 267.7 kB / 0.6825 GB, free: 5.461 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 (dayTypMonThr.skipIDayIncrement,$PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.iDay,$PRE.dayTypMonThr.iDay,dayTypMonThr.y[3],dayTypMonThr.y[2],dayTypMonThr.y[1],dayTypTwoWeeks.skipIDayIncrement,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.iDay,$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.y[14],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[1],dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],dayTypMon.skipIDayIncrement,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.iDay,$PRE.dayTypMon.iDay,dayTypMon.y[2],dayTypMon.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.000159/0.1512, allocations: 194.1 kB / 0.6826 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.1512, allocations: 31.66 kB / 0.6827 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.1513, allocations: 34.19 kB / 0.6827 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1513, allocations: 7.984 kB / 0.6827 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.1513, allocations: 4 kB / 0.6827 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1513, allocations: 0 / 0.6827 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.153, allocations: 1.721 MB / 0.6844 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.153, allocations: 4 kB / 0.6844 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.1531, allocations: 27.84 kB / 0.6844 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1531, allocations: 4 kB / 0.6844 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.1531, allocations: 15.98 kB / 0.6844 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1531, allocations: 3.984 kB / 0.6845 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1531, allocations: 4 kB / 0.6845 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008931/0.154, allocations: 1.122 MB / 0.6856 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.1541, allocations: 104.7 kB / 0.6857 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.1541, allocations: 12 kB / 0.6857 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.1544, allocations: 11.98 kB / 0.6857 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.1545, allocations: 51.94 kB / 0.6857 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/0.1547, allocations: 279.5 kB / 0.686 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001264/0.1549, allocations: 176.4 kB / 0.6862 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1549, allocations: 0 / 0.6862 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004079/0.1553, allocations: 60 kB / 0.6862 GB, free: 1.512 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: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001232/0.1554, allocations: 139.1 kB / 0.6863 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007982/0.1562, allocations: 0.7379 MB / 0.6871 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1562, allocations: 0 / 0.6871 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.1567, allocations: 407.7 kB / 0.6875 GB, free: 236 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.1582, allocations: 373 kB / 0.6878 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1593, allocations: 0.9707 MB / 0.6888 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1596, allocations: 0.7599 MB / 0.6895 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.1598, allocations: 90.92 kB / 0.6896 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1599, allocations: 71.38 kB / 0.6897 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of SimCode: time 2.11e-07/0.1599, allocations: 0 / 0.6897 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.01092/0.1709, allocations: 8.845 MB / 0.6983 GB, free: 5.18 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)