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 0.7913/0.7913, allocations: 132.4 MB / 139.9 MB, free: 15.38 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001075/0.001075, allocations: 165.7 kB / 171.8 MB, free: 2.008 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.538/1.538, allocations: 170.6 MB / 374.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001849/0.001849, allocations: 123.7 kB / 444.8 MB, free: 9.211 MB / 346.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.4625/0.4626, allocations: 73.4 MB / 0.6666 GB, free: 46.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.5967, allocations: 101.5 MB / 0.7657 GB, free: 3.277 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.5969, allocations: 75.36 kB / 0.7658 GB, free: 3.207 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04718/0.6441, allocations: 18.72 MB / 0.7841 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.6442, allocations: 0 / 0.7841 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.6442, allocations: 4.656 kB / 0.7841 GB, free: 0.5938 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.001095/0.6453, allocations: 0.5984 MB / 0.7847 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.6454, allocations: 8.031 kB / 0.7847 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.6455, allocations: 30.38 kB / 0.7847 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.6459, allocations: 245.8 kB / 0.7849 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.6459, allocations: 9.859 kB / 0.785 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.646, allocations: 16 kB / 0.785 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004137/0.6464, allocations: 309 kB / 0.7853 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.647, allocations: 442.1 kB / 0.7857 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.647, allocations: 4 kB / 0.7857 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.647, allocations: 0 / 0.7857 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.647, allocations: 4 kB / 0.7857 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.6477, allocations: 0.5162 MB / 0.7862 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.6488, allocations: 0.9982 MB / 0.7872 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.6495, allocations: 0.6445 MB / 0.7878 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.6495, allocations: 7.984 kB / 0.7878 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005957/0.6501, allocations: 463.5 kB / 0.7883 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 2.715e-06/0.6502, allocations: 0 / 0.7883 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.001185/0.6514, allocations: 0.7745 MB / 0.789 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/0.6515, allocations: 132.5 kB / 0.7891 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.6517, allocations: 220.5 kB / 0.7893 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.6518, allocations: 30.45 kB / 0.7894 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.6519, allocations: 124.8 kB / 0.7895 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.612e-05/0.652, allocations: 67.16 kB / 0.7896 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.652, allocations: 8 kB / 0.7896 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.6522, allocations: 338.8 kB / 0.7899 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.6526, allocations: 316.7 kB / 0.7902 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.6531, allocations: 409.6 kB / 0.7906 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.6536, allocations: 343.8 kB / 0.7909 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6536, allocations: 0.9375 kB / 0.7909 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001041/0.6547, allocations: 0.7946 MB / 0.7917 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.6547, allocations: 5.719 kB / 0.7917 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6547, allocations: 4 kB / 0.7917 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.6547, allocations: 7.938 kB / 0.7917 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.6549, allocations: 47.84 kB / 0.7917 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.655, allocations: 4 kB / 0.7918 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.6552, allocations: 11.84 kB / 0.7918 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/0.6555, allocations: 217.2 kB / 0.792 GB, free: 8.195 MB / 0.4948 GB 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.0001653/0.6557, allocations: 139.6 kB / 0.7921 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.6557, allocations: 32.64 kB / 0.7921 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.73e-05/0.6558, allocations: 29.97 kB / 0.7922 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.6558, allocations: 4 kB / 0.7922 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.6558, allocations: 7.938 kB / 0.7922 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6559, allocations: 0 / 0.7922 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.6579, allocations: 1.641 MB / 0.7938 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6579, allocations: 0 / 0.7938 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.6579, allocations: 19.92 kB / 0.7938 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.658, allocations: 5.625 kB / 0.7938 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.658, allocations: 23.92 kB / 0.7938 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-06/0.658, allocations: 5.969 kB / 0.7938 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.658, allocations: 0 / 0.7938 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.6591, allocations: 1.134 MB / 0.7949 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.6592, allocations: 108.8 kB / 0.795 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.6593, allocations: 4 kB / 0.795 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.6595, allocations: 0 / 0.795 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.6596, allocations: 47.94 kB / 0.7951 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002736/0.6599, allocations: 231.6 kB / 0.7953 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001465/0.66, allocations: 160.5 kB / 0.7955 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6601, allocations: 0 / 0.7955 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005126/0.6606, allocations: 52 kB / 0.7955 GB, free: 4.461 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.0001823/0.6608, allocations: 135.2 kB / 0.7956 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008867/0.6617, allocations: 0.7078 MB / 0.7963 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.6617, allocations: 4 kB / 0.7963 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004813/0.6622, allocations: 397.7 kB / 0.7967 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.6637, allocations: 312.5 kB / 0.797 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.665, allocations: 0.8467 MB / 0.7978 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.6654, allocations: 0.7647 MB / 0.7986 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.6658, allocations: 96.81 kB / 0.7987 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.6659, allocations: 63.38 kB / 0.7987 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.6659, allocations: 4 kB / 0.7987 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of Templates: time 0.01266/0.6786, allocations: 7.487 MB / 0.8061 GB, free: 9.695 MB / 0.5105 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)