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.2347/0.2356, allocations: 82.22 MB / 0.5941 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001872/0.2375, allocations: 1.144 MB / 0.5952 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006229/0.2381, allocations: 263.9 kB / 0.5955 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.2382, allocations: 3.938 kB / 0.5955 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.2384, allocations: 3.938 kB / 0.5955 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.461e-05/0.2384, allocations: 23.86 kB / 0.5955 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.2388, allocations: 79.67 kB / 0.5956 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.2392, allocations: 219.9 kB / 0.5958 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.007e-05/0.2392, allocations: 13.12 kB / 0.5958 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.2394, allocations: 75.81 kB / 0.5959 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.2396, allocations: 103.7 kB / 0.596 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.2396, allocations: 8 kB / 0.596 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.304e-05/0.2396, allocations: 8 kB / 0.596 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.2398, allocations: 75.8 kB / 0.5961 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.24, allocations: 129 kB / 0.5962 GB, free: 3.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.2403, allocations: 247.4 kB / 0.5964 GB, free: 3.164 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2403, allocations: 4 kB / 0.5964 GB, free: 3.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.2403, allocations: 4 kB / 0.5964 GB, free: 3.156 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2403, allocations: 0 / 0.5964 GB, free: 3.156 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.001163/0.2415, allocations: 0.6161 MB / 0.597 GB, free: 2.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.2415, allocations: 8.031 kB / 0.597 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.501e-05/0.2416, allocations: 24.66 kB / 0.5971 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.242, allocations: 266.7 kB / 0.5973 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.242, allocations: 12.66 kB / 0.5973 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.2421, allocations: 32.31 kB / 0.5974 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.2426, allocations: 463.2 kB / 0.5978 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2427, allocations: 192 / 0.5978 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.2427, allocations: 7.938 kB / 0.5978 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.2427, allocations: 7.984 kB / 0.5978 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.2431, allocations: 323.7 kB / 0.5981 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.2437, allocations: 0.5741 MB / 0.5987 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.2449, allocations: 1.028 MB / 0.5997 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000749/0.2457, allocations: 0.6593 MB / 0.6003 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.2457, allocations: 8 kB / 0.6003 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000629/0.2464, allocations: 478.8 kB / 0.6008 GB, free: 14.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.2464, allocations: 0 / 0.6008 GB, free: 14.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.001492/0.2479, allocations: 1.124 MB / 0.6019 GB, free: 13.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.248, allocations: 140.5 kB / 0.602 GB, free: 13.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.2483, allocations: 244.9 kB / 0.6023 GB, free: 12.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.2483, allocations: 37.7 kB / 0.6023 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.2484, allocations: 129 kB / 0.6024 GB, free: 12.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/0.2485, allocations: 79.23 kB / 0.6025 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.2486, allocations: 57.69 kB / 0.6026 GB, free: 12.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2487, allocations: 338.8 kB / 0.6029 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.2491, allocations: 328.7 kB / 0.6032 GB, free: 11.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.2496, allocations: 430.4 kB / 0.6036 GB, free: 11.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.2504, allocations: 0.7673 MB / 0.6043 GB, free: 10.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2505, allocations: 0 / 0.6043 GB, free: 10.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009981/0.2515, allocations: 0.8283 MB / 0.6052 GB, free: 9.809 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2515, allocations: 16.06 kB / 0.6052 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2515, allocations: 4 kB / 0.6052 GB, free: 9.789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2515, allocations: 4 kB / 0.6052 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.2517, allocations: 47.83 kB / 0.6052 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.2517, allocations: 4 kB / 0.6052 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.252, allocations: 27.69 kB / 0.6053 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/0.2523, allocations: 272 kB / 0.6055 GB, free: 9.441 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.0002201/0.2525, allocations: 193.9 kB / 0.6057 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.2526, allocations: 31.56 kB / 0.6057 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.2526, allocations: 42.17 kB / 0.6058 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.2527, allocations: 8 kB / 0.6058 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2527, allocations: 0 / 0.6058 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2527, allocations: 0 / 0.6058 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.2546, allocations: 1.712 MB / 0.6075 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2546, allocations: 0 / 0.6075 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.2547, allocations: 27.91 kB / 0.6075 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.2547, allocations: 4 kB / 0.6075 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.2547, allocations: 19.97 kB / 0.6075 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.2548, allocations: 4 kB / 0.6075 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2548, allocations: 3.938 kB / 0.6075 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.2559, allocations: 1.122 MB / 0.6086 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.2559, allocations: 104.7 kB / 0.6087 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.256, allocations: 11.94 kB / 0.6087 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.2562, allocations: 11.98 kB / 0.6087 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.2563, allocations: 51.92 kB / 0.6088 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002972/0.2567, allocations: 275.4 kB / 0.609 GB, free: 5.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.2568, allocations: 180.4 kB / 0.6092 GB, free: 5.559 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2568, allocations: 0 / 0.6092 GB, free: 5.559 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004481/0.2573, allocations: 64 kB / 0.6093 GB, free: 5.496 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.0001569/0.2574, allocations: 135.7 kB / 0.6094 GB, free: 5.352 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009306/0.2584, allocations: 0.7379 MB / 0.6101 GB, free: 4.613 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2584, allocations: 0 / 0.6101 GB, free: 4.613 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.2589, allocations: 400 kB / 0.6105 GB, free: 4.223 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.2606, allocations: 336.3 kB / 0.6108 GB, free: 3.902 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2619, allocations: 1.035 MB / 0.6118 GB, free: 2.832 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.2623, allocations: 0.753 MB / 0.6126 GB, free: 2.047 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.2626, allocations: 99.09 kB / 0.6127 GB, free: 1.953 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2627, allocations: 67.38 kB / 0.6127 GB, free: 1.891 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2627, allocations: 3.938 kB / 0.6127 GB, free: 1.887 MB / 462.1 MB Notification: Performance of Templates: time 0.01283/0.2755, allocations: 8.446 MB / 0.621 GB, free: 9.52 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: