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.1989/0.1996, allocations: 82.22 MB / 0.5935 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001671/0.2014, allocations: 1.117 MB / 0.5946 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005373/0.2019, allocations: 260 kB / 0.5948 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.202, allocations: 0 / 0.5948 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2021, allocations: 15.86 kB / 0.5948 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.2022, allocations: 19.91 kB / 0.5948 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.2025, allocations: 75.88 kB / 0.5949 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.2027, allocations: 200 kB / 0.5951 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.2028, allocations: 5.125 kB / 0.5951 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.2029, allocations: 83.81 kB / 0.5952 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.2031, allocations: 103.7 kB / 0.5953 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.2031, allocations: 8 kB / 0.5953 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.036e-05/0.2031, allocations: 8 kB / 0.5953 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/0.2032, allocations: 75.73 kB / 0.5954 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.2033, allocations: 61.58 kB / 0.5954 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.2035, allocations: 183.9 kB / 0.5956 GB, free: 3.703 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2035, allocations: 4 kB / 0.5956 GB, free: 3.699 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2035, allocations: 0 / 0.5956 GB, free: 3.699 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2035, allocations: 0 / 0.5956 GB, free: 3.699 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.0009191/0.2044, allocations: 0.6198 MB / 0.5962 GB, free: 3.004 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2045, allocations: 12.03 kB / 0.5962 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.2046, allocations: 23.72 kB / 0.5963 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.2048, allocations: 257.7 kB / 0.5965 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.2049, allocations: 12.28 kB / 0.5965 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.2049, allocations: 23.94 kB / 0.5965 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.2055, allocations: 458.7 kB / 0.597 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2056, allocations: 0 / 0.597 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.2056, allocations: 8 kB / 0.597 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2056, allocations: 7.938 kB / 0.597 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.206, allocations: 323.8 kB / 0.5973 GB, free: 1.848 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.2066, allocations: 0.5585 MB / 0.5978 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2078, allocations: 1.028 MB / 0.5988 GB, free: 172 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/0.2085, allocations: 0.6614 MB / 0.5995 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.2085, allocations: 19.97 kB / 0.5995 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006388/0.2092, allocations: 478.9 kB / 0.6 GB, free: 14.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 1.492e-06/0.2092, allocations: 0 / 0.6 GB, free: 14.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.00144/0.2106, allocations: 1.106 MB / 0.601 GB, free: 13.87 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.2107, allocations: 136.5 kB / 0.6012 GB, free: 13.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.211, allocations: 256.8 kB / 0.6014 GB, free: 13.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.211, allocations: 37.7 kB / 0.6015 GB, free: 13.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.2111, allocations: 125.1 kB / 0.6016 GB, free: 13.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.92e-05/0.2112, allocations: 75.16 kB / 0.6016 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.2112, allocations: 8 kB / 0.6017 GB, free: 13.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2114, allocations: 342.8 kB / 0.602 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.2118, allocations: 332.7 kB / 0.6023 GB, free: 12.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.2123, allocations: 422.4 kB / 0.6027 GB, free: 12.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.2128, allocations: 356 kB / 0.603 GB, free: 11.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2128, allocations: 0 / 0.603 GB, free: 11.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001138/0.214, allocations: 0.8366 MB / 0.6039 GB, free: 10.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.214, allocations: 4 kB / 0.6039 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.214, allocations: 7.953 kB / 0.6039 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.2141, allocations: 4 kB / 0.6039 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.2143, allocations: 47.84 kB / 0.6039 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.2143, allocations: 4.312 kB / 0.6039 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.2146, allocations: 31.67 kB / 0.604 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003223/0.2149, allocations: 263.6 kB / 0.6042 GB, free: 10.53 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.0002135/0.2151, allocations: 197.7 kB / 0.6044 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.2152, allocations: 31.62 kB / 0.6044 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.43e-05/0.2152, allocations: 38.17 kB / 0.6045 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.2153, allocations: 7.953 kB / 0.6045 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.2153, allocations: 0 / 0.6045 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.2153, allocations: 7.984 kB / 0.6045 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.2173, allocations: 1.716 MB / 0.6061 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.2173, allocations: 4.281 kB / 0.6062 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.2174, allocations: 19.92 kB / 0.6062 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.2174, allocations: 4 kB / 0.6062 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.2174, allocations: 19.97 kB / 0.6062 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.2174, allocations: 4 kB / 0.6062 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2174, allocations: 0 / 0.6062 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.2185, allocations: 1.113 MB / 0.6073 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.2186, allocations: 116.5 kB / 0.6074 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.2187, allocations: 12 kB / 0.6074 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.2189, allocations: 8 kB / 0.6074 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.219, allocations: 51.94 kB / 0.6075 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002832/0.2193, allocations: 283.5 kB / 0.6077 GB, free: 6.812 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.2194, allocations: 172.5 kB / 0.6079 GB, free: 6.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2194, allocations: 0 / 0.6079 GB, free: 6.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.2199, allocations: 60 kB / 0.608 GB, free: 6.586 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.0001601/0.2201, allocations: 135.8 kB / 0.6081 GB, free: 6.441 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008893/0.221, allocations: 0.7376 MB / 0.6088 GB, free: 5.703 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.221, allocations: 8.062 kB / 0.6088 GB, free: 5.695 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.2215, allocations: 403.6 kB / 0.6092 GB, free: 5.301 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.223, allocations: 331.4 kB / 0.6095 GB, free: 4.992 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2243, allocations: 1.017 MB / 0.6105 GB, free: 3.941 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.2246, allocations: 0.7567 MB / 0.6112 GB, free: 3.156 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.2249, allocations: 102.9 kB / 0.6113 GB, free: 3.059 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.225, allocations: 71.38 kB / 0.6114 GB, free: 2.992 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.225, allocations: 0 / 0.6114 GB, free: 2.992 MB / 462.1 MB Notification: Performance of Templates: time 0.01158/0.2366, allocations: 8.143 MB / 0.6194 GB, free: 10.93 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: