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.1888/0.1895, allocations: 82.21 MB / 0.5934 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001911/0.1915, allocations: 1.116 MB / 0.5944 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005237/0.192, allocations: 263.3 kB / 0.5947 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.1921, allocations: 3.938 kB / 0.5947 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 9.678e-05/0.1922, allocations: 15.91 kB / 0.5947 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.1923, allocations: 15.98 kB / 0.5947 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1926, allocations: 79.05 kB / 0.5948 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1928, allocations: 144.2 kB / 0.5949 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.1929, allocations: 17.05 kB / 0.595 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.214e-05/0.1929, allocations: 75.81 kB / 0.595 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1931, allocations: 103.7 kB / 0.5951 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.1931, allocations: 8 kB / 0.5951 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.817e-05/0.1932, allocations: 8 kB / 0.5951 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.1933, allocations: 75.8 kB / 0.5952 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.1933, allocations: 61.58 kB / 0.5953 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1935, allocations: 179.9 kB / 0.5954 GB, free: 13.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1935, allocations: 0 / 0.5954 GB, free: 13.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1935, allocations: 0 / 0.5954 GB, free: 13.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1936, allocations: 0 / 0.5954 GB, free: 13.39 MB / 462.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.0009715/0.1945, allocations: 0.6276 MB / 0.5961 GB, free: 12.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1946, allocations: 20.7 kB / 0.5961 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.1947, allocations: 23.72 kB / 0.5961 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.195, allocations: 257.7 kB / 0.5963 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.1951, allocations: 16.22 kB / 0.5964 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.1951, allocations: 23.94 kB / 0.5964 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.1957, allocations: 458.7 kB / 0.5968 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1957, allocations: 0 / 0.5968 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1957, allocations: 8 kB / 0.5968 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1957, allocations: 4 kB / 0.5968 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.1961, allocations: 327.7 kB / 0.5971 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.1968, allocations: 0.5585 MB / 0.5977 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.198, allocations: 1.026 MB / 0.5987 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.1981, allocations: 12.02 kB / 0.5987 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006357/0.1987, allocations: 479.5 kB / 0.5992 GB, free: 9.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.1987, allocations: 4 kB / 0.5992 GB, free: 9.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.001395/0.2001, allocations: 1.116 MB / 0.6003 GB, free: 8.211 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.2002, allocations: 136.5 kB / 0.6004 GB, free: 8.047 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.2004, allocations: 248.9 kB / 0.6006 GB, free: 7.797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.2005, allocations: 37.7 kB / 0.6007 GB, free: 7.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.2006, allocations: 125 kB / 0.6008 GB, free: 7.625 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.2006, allocations: 75.23 kB / 0.6009 GB, free: 7.551 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.2007, allocations: 12 kB / 0.6009 GB, free: 7.539 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2008, allocations: 342.8 kB / 0.6012 GB, free: 7.195 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.2012, allocations: 324.7 kB / 0.6015 GB, free: 6.875 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.2016, allocations: 430.4 kB / 0.6019 GB, free: 6.422 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.202, allocations: 355.8 kB / 0.6022 GB, free: 6.074 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.202, allocations: 0 / 0.6022 GB, free: 6.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009968/0.203, allocations: 0.8327 MB / 0.6031 GB, free: 5.234 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2031, allocations: 4.125 kB / 0.6031 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2031, allocations: 8 kB / 0.6031 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2031, allocations: 7.953 kB / 0.6031 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.2033, allocations: 44.41 kB / 0.6031 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2033, allocations: 4 kB / 0.6031 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.2035, allocations: 35.67 kB / 0.6032 GB, free: 5.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.2039, allocations: 267.4 kB / 0.6034 GB, free: 4.871 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 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,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],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.2041, allocations: 193.7 kB / 0.6036 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.2041, allocations: 27.62 kB / 0.6036 GB, free: 4.648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.925e-05/0.2042, allocations: 38.17 kB / 0.6037 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.2042, allocations: 11.95 kB / 0.6037 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.2042, allocations: 0 / 0.6037 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.2043, allocations: 7.984 kB / 0.6037 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.2062, allocations: 1.702 MB / 0.6053 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2062, allocations: 7.891 kB / 0.6054 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/0.2063, allocations: 27.91 kB / 0.6054 GB, free: 2.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.2063, allocations: 4 kB / 0.6054 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.2063, allocations: 19.97 kB / 0.6054 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/0.2063, allocations: 4 kB / 0.6054 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2064, allocations: 3.938 kB / 0.6054 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2074, allocations: 1.15 MB / 0.6065 GB, free: 1.582 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.2075, allocations: 112.7 kB / 0.6066 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.2075, allocations: 11.98 kB / 0.6067 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2078, allocations: 8 kB / 0.6067 GB, free: 1.434 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.2079, allocations: 51.89 kB / 0.6067 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000271/0.2082, allocations: 283.5 kB / 0.607 GB, free: 1.105 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.2083, allocations: 176.5 kB / 0.6071 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2083, allocations: 0 / 0.6071 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004404/0.2088, allocations: 60 kB / 0.6072 GB, free: 0.875 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 (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.0001709/0.209, allocations: 131.2 kB / 0.6073 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009258/0.2099, allocations: 0.7296 MB / 0.608 GB, free: 4 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2099, allocations: 0 / 0.608 GB, free: 4 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004988/0.2104, allocations: 411.6 kB / 0.6084 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.2118, allocations: 318.8 kB / 0.6087 GB, free: 15.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2132, allocations: 1.013 MB / 0.6097 GB, free: 14.26 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.2137, allocations: 0.7608 MB / 0.6105 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.2139, allocations: 94.92 kB / 0.6106 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2141, allocations: 67.31 kB / 0.6106 GB, free: 13.31 MB / 478.1 MB Notification: Performance of SimCode: time 5e-07/0.2141, allocations: 0 / 0.6106 GB, free: 13.31 MB / 478.1 MB Notification: Performance of Templates: time 0.01247/0.2266, allocations: 8.138 MB / 0.6186 GB, free: 5.258 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: