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.2001/0.2023, allocations: 80.83 MB / 0.5897 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.002916/0.2052, allocations: 1.488 MB / 0.5911 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005926/0.2059, allocations: 263.9 kB / 0.5914 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.2059, allocations: 0 / 0.5914 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.2061, allocations: 11.92 kB / 0.5914 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.377e-05/0.2062, allocations: 19.86 kB / 0.5914 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.2065, allocations: 87.86 kB / 0.5915 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.2068, allocations: 219.9 kB / 0.5917 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.382e-05/0.2069, allocations: 5.125 kB / 0.5917 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.207, allocations: 79.81 kB / 0.5918 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.2071, allocations: 103.7 kB / 0.5919 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.2072, allocations: 8 kB / 0.5919 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.632e-05/0.2072, allocations: 8 kB / 0.5919 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.2073, allocations: 79.72 kB / 0.592 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.2075, allocations: 103.3 kB / 0.5921 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.2077, allocations: 247.4 kB / 0.5923 GB, free: 4.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2077, allocations: 0 / 0.5923 GB, free: 4.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2077, allocations: 0 / 0.5923 GB, free: 4.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2078, allocations: 0 / 0.5923 GB, free: 4.387 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0009812/0.2087, allocations: 0.694 MB / 0.593 GB, free: 3.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.2088, allocations: 12.03 kB / 0.593 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.925e-05/0.2089, allocations: 24.66 kB / 0.593 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.2092, allocations: 270.7 kB / 0.5933 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.2092, allocations: 16.66 kB / 0.5933 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.2093, allocations: 20.38 kB / 0.5933 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006077/0.2099, allocations: 459.3 kB / 0.5938 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2099, allocations: 192 / 0.5938 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.21, allocations: 7.938 kB / 0.5938 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.21, allocations: 4 kB / 0.5938 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.2104, allocations: 329.6 kB / 0.5941 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.211, allocations: 0.5663 MB / 0.5946 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.2122, allocations: 1.025 MB / 0.5956 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.213, allocations: 0.6593 MB / 0.5963 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.213, allocations: 4 kB / 0.5963 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006753/0.2137, allocations: 486.7 kB / 0.5967 GB, free: 15.58 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 2.274e-06/0.2137, allocations: 0 / 0.5967 GB, free: 15.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.001466/0.2152, allocations: 1.12 MB / 0.5978 GB, free: 14.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.2153, allocations: 136.5 kB / 0.598 GB, free: 14.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.2156, allocations: 256.9 kB / 0.5982 GB, free: 14.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.2156, allocations: 33.7 kB / 0.5982 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.2157, allocations: 121.1 kB / 0.5984 GB, free: 13.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.196e-05/0.2158, allocations: 87.08 kB / 0.5984 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.2159, allocations: 110 kB / 0.5985 GB, free: 13.67 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2161, allocations: 346.8 kB / 0.5989 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.2165, allocations: 332.7 kB / 0.5992 GB, free: 13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.2169, allocations: 418.5 kB / 0.5996 GB, free: 12.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008999/0.2179, allocations: 0.7732 MB / 0.6004 GB, free: 11.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2179, allocations: 4 kB / 0.6004 GB, free: 11.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001048/0.2189, allocations: 0.8288 MB / 0.6012 GB, free: 10.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.219, allocations: 11.94 kB / 0.6012 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.219, allocations: 0 / 0.6012 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.219, allocations: 8 kB / 0.6012 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.2192, allocations: 35.91 kB / 0.6012 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.2192, allocations: 8.062 kB / 0.6012 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.2195, allocations: 43.61 kB / 0.6013 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/0.2198, allocations: 263.5 kB / 0.6015 GB, free: 10.54 MB / 462.1 MB 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.0002385/0.2201, allocations: 193.7 kB / 0.6017 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.2201, allocations: 31.56 kB / 0.6017 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/0.2202, allocations: 42.11 kB / 0.6018 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-06/0.2202, allocations: 4 kB / 0.6018 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.2203, allocations: 4 kB / 0.6018 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2203, allocations: 4.266 kB / 0.6018 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.2223, allocations: 1.714 MB / 0.6035 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2223, allocations: 4 kB / 0.6035 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.2224, allocations: 19.97 kB / 0.6035 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.2224, allocations: 4 kB / 0.6035 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.2224, allocations: 23.91 kB / 0.6035 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2224, allocations: 4 kB / 0.6035 GB, free: 8.438 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2225, allocations: 4 kB / 0.6035 GB, free: 8.434 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.2236, allocations: 1.11 MB / 0.6046 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.2237, allocations: 108.7 kB / 0.6047 GB, free: 7.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.2237, allocations: 16 kB / 0.6047 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.224, allocations: 4 kB / 0.6047 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.2241, allocations: 51.88 kB / 0.6048 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002804/0.2244, allocations: 283.5 kB / 0.605 GB, free: 6.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.2246, allocations: 176.4 kB / 0.6052 GB, free: 6.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2246, allocations: 0 / 0.6052 GB, free: 6.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005034/0.2251, allocations: 64 kB / 0.6053 GB, free: 6.598 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: 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.000175/0.2253, allocations: 135.1 kB / 0.6054 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009946/0.2263, allocations: 0.7392 MB / 0.6061 GB, free: 5.715 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2263, allocations: 4 kB / 0.6061 GB, free: 5.711 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.2268, allocations: 403.8 kB / 0.6065 GB, free: 5.316 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.2283, allocations: 335.2 kB / 0.6068 GB, free: 5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.2296, allocations: 1.031 MB / 0.6078 GB, free: 3.934 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.23, allocations: 0.753 MB / 0.6086 GB, free: 3.148 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002744/0.2303, allocations: 98.92 kB / 0.6087 GB, free: 3.055 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.2304, allocations: 67.38 kB / 0.6087 GB, free: 2.988 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2304, allocations: 0 / 0.6087 GB, free: 2.988 MB / 462.1 MB Notification: Performance of Templates: time 0.01378/0.2442, allocations: 8.482 MB / 0.617 GB, free: 10.59 MB / 478.1 MB 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)