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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 1.042/1.042, allocations: 132.4 MB / 139.9 MB, free: 2.805 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001024/0.001024, allocations: 173.6 kB / 171.8 MB, free: 4.93 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.455/1.455, allocations: 170.6 MB / 374.2 MB, free: 212 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001573/0.001573, allocations: 106.4 kB / 444.8 MB, free: 14.17 MB / 314.7 MB [/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.1542/0.1543, allocations: 73.42 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5353/0.6896, allocations: 101.5 MB / 0.7657 GB, free: 14.11 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.6899, allocations: 67.97 kB / 0.7658 GB, free: 14.05 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04827/0.7382, allocations: 18.71 MB / 0.7841 GB, free: 11.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7383, allocations: 0 / 0.7841 GB, free: 11.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.7383, allocations: 8 kB / 0.7841 GB, free: 11.32 MB / 490.7 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.0009032/0.7392, allocations: 0.5925 MB / 0.7847 GB, free: 10.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.7392, allocations: 8.031 kB / 0.7847 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.388e-05/0.7393, allocations: 36.56 kB / 0.7847 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.7397, allocations: 241.8 kB / 0.7849 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.7397, allocations: 12 kB / 0.785 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.7397, allocations: 19.89 kB / 0.785 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000397/0.7401, allocations: 308.4 kB / 0.7853 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.7407, allocations: 434.5 kB / 0.7857 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.7407, allocations: 4 kB / 0.7857 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.7408, allocations: 0 / 0.7857 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.7408, allocations: 4 kB / 0.7857 GB, free: 9.559 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.7414, allocations: 0.5162 MB / 0.7862 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.7426, allocations: 1.006 MB / 0.7872 GB, free: 7.953 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008334/0.7435, allocations: 0.6361 MB / 0.7878 GB, free: 7.305 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.7435, allocations: 4 kB / 0.7878 GB, free: 7.301 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000649/0.7442, allocations: 470.8 kB / 0.7883 GB, free: 6.816 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 1.854e-06/0.7442, allocations: 0 / 0.7883 GB, free: 6.816 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.0012/0.7454, allocations: 0.7636 MB / 0.789 GB, free: 6.047 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.7456, allocations: 140.5 kB / 0.7891 GB, free: 5.879 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.7458, allocations: 216.5 kB / 0.7893 GB, free: 5.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.7459, allocations: 29.7 kB / 0.7894 GB, free: 5.625 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.746, allocations: 128.8 kB / 0.7895 GB, free: 5.496 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.939e-05/0.7461, allocations: 71.11 kB / 0.7896 GB, free: 5.426 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.7461, allocations: 0 / 0.7896 GB, free: 5.426 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00025/0.7464, allocations: 338.8 kB / 0.7899 GB, free: 5.086 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.7468, allocations: 320.7 kB / 0.7902 GB, free: 4.773 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.7474, allocations: 409.6 kB / 0.7906 GB, free: 4.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.7479, allocations: 339.8 kB / 0.7909 GB, free: 4.008 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.7479, allocations: 4 kB / 0.7909 GB, free: 4.004 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001105/0.749, allocations: 0.7908 MB / 0.7917 GB, free: 3.207 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.749, allocations: 8 kB / 0.7917 GB, free: 3.199 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.7491, allocations: 3.984 kB / 0.7917 GB, free: 3.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/0.7491, allocations: 12 kB / 0.7917 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.7493, allocations: 39.89 kB / 0.7917 GB, free: 3.145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.7493, allocations: 4 kB / 0.7917 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.7495, allocations: 24.08 kB / 0.7918 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/0.7498, allocations: 211.5 kB / 0.792 GB, free: 2.91 MB / 490.7 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 () * 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.0001461/0.75, allocations: 138.2 kB / 0.7921 GB, free: 2.766 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.75, allocations: 27.72 kB / 0.7921 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.7501, allocations: 33.95 kB / 0.7922 GB, free: 2.707 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.7501, allocations: 7.953 kB / 0.7922 GB, free: 2.699 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.7502, allocations: 4 kB / 0.7922 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.7502, allocations: 0 / 0.7922 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.7521, allocations: 1.638 MB / 0.7938 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7521, allocations: 0 / 0.7938 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.7522, allocations: 32.03 kB / 0.7938 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.976e-06/0.7522, allocations: 7.953 kB / 0.7938 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.7523, allocations: 19.98 kB / 0.7938 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.7523, allocations: 0 / 0.7938 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7523, allocations: 0 / 0.7938 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.7535, allocations: 1.138 MB / 0.7949 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.7536, allocations: 96.83 kB / 0.795 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.7536, allocations: 4 kB / 0.795 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.7538, allocations: 4 kB / 0.795 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.754, allocations: 63.84 kB / 0.7951 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002724/0.7543, allocations: 211.5 kB / 0.7953 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001847/0.7544, allocations: 172.4 kB / 0.7955 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7545, allocations: 0 / 0.7955 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004872/0.7549, allocations: 51.98 kB / 0.7955 GB, free: 15.16 MB / 0.4948 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) * 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.0002304/0.7552, allocations: 130.3 kB / 0.7956 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009532/0.7561, allocations: 0.7113 MB / 0.7963 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7562, allocations: 256 / 0.7963 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.7567, allocations: 391.7 kB / 0.7967 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.7583, allocations: 313.3 kB / 0.797 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.7596, allocations: 0.8488 MB / 0.7978 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.7601, allocations: 0.7647 MB / 0.7986 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003055/0.7604, allocations: 95.23 kB / 0.7987 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.7606, allocations: 67.38 kB / 0.7987 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.7606, allocations: 3.938 kB / 0.7987 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.01205/0.7726, allocations: 7.496 MB / 0.8061 GB, free: 4.332 MB / 0.4948 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)