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.6893/0.6893, allocations: 132.3 MB / 144.9 MB, free: 10.7 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.0009443/0.0009444, allocations: 178.3 kB / 176.9 MB, free: 2.227 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.14/1.14, allocations: 170.5 MB / 379.3 MB, free: 11.92 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.001446/0.001446, allocations: 124.1 kB / 450 MB, free: 5.832 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.3809/0.381, allocations: 73.39 MB / 0.6736 GB, free: 47.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.5027, allocations: 102.2 MB / 0.7734 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.503, allocations: 80 kB / 0.7735 GB, free: 14.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04576/0.5488, allocations: 18.82 MB / 0.7918 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5488, allocations: 0 / 0.7918 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.5488, allocations: 4 kB / 0.7918 GB, free: 11.69 MB / 0.4948 GB 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.0008225/0.5497, allocations: 0.591 MB / 0.7924 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5497, allocations: 8.031 kB / 0.7924 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.5498, allocations: 34.38 kB / 0.7925 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.5501, allocations: 257.7 kB / 0.7927 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.5502, allocations: 12.28 kB / 0.7927 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.5502, allocations: 16 kB / 0.7927 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.5508, allocations: 458.3 kB / 0.7932 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.5508, allocations: 0 / 0.7932 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.5508, allocations: 8 kB / 0.7932 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5508, allocations: 4 kB / 0.7932 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.5512, allocations: 319.8 kB / 0.7935 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.5518, allocations: 0.5509 MB / 0.794 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.5529, allocations: 1.024 MB / 0.795 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/0.5535, allocations: 0.6572 MB / 0.7957 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.5536, allocations: 4 kB / 0.7957 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005238/0.5541, allocations: 486.3 kB / 0.7961 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 3.276e-06/0.5541, allocations: 3.984 kB / 0.7961 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0009506/0.5551, allocations: 0.7758 MB / 0.7969 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.5552, allocations: 140.5 kB / 0.797 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.5554, allocations: 234.8 kB / 0.7972 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.5554, allocations: 33.7 kB / 0.7973 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.5555, allocations: 124.9 kB / 0.7974 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.263e-05/0.5556, allocations: 86.98 kB / 0.7975 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.5556, allocations: 4 kB / 0.7975 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5557, allocations: 342.8 kB / 0.7978 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.556, allocations: 328.7 kB / 0.7981 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.5564, allocations: 418.5 kB / 0.7985 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.5569, allocations: 359.7 kB / 0.7989 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5569, allocations: 0 / 0.7989 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009706/0.5578, allocations: 0.8189 MB / 0.7997 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5579, allocations: 4 kB / 0.7997 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5579, allocations: 8.734 kB / 0.7997 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.5579, allocations: 8.125 kB / 0.7997 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.5581, allocations: 43.91 kB / 0.7997 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.5581, allocations: 7.984 kB / 0.7997 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.5583, allocations: 19.94 kB / 0.7998 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.5586, allocations: 212.6 kB / 0.8 GB, free: 3.031 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.0001445/0.5587, allocations: 148.8 kB / 0.8001 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.5588, allocations: 31.62 kB / 0.8001 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.44e-05/0.5589, allocations: 37.95 kB / 0.8002 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.5589, allocations: 10.86 kB / 0.8002 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.5589, allocations: 8 kB / 0.8002 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.5589, allocations: 0 / 0.8002 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.5607, allocations: 1.697 MB / 0.8018 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5607, allocations: 8 kB / 0.8018 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.5608, allocations: 19.97 kB / 0.8019 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.5608, allocations: 4 kB / 0.8019 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.5608, allocations: 19.97 kB / 0.8019 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.5609, allocations: 3.938 kB / 0.8019 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5609, allocations: 4 kB / 0.8019 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.5619, allocations: 1.138 MB / 0.803 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.562, allocations: 104.7 kB / 0.8031 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.562, allocations: 8 kB / 0.8031 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.5623, allocations: 8 kB / 0.8031 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/0.5624, allocations: 63.81 kB / 0.8032 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/0.5626, allocations: 223.7 kB / 0.8034 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001408/0.5627, allocations: 173.4 kB / 0.8036 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5627, allocations: 0 / 0.8036 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004193/0.5632, allocations: 64 kB / 0.8036 GB, free: 15.16 MB / 0.5105 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.0001594/0.5633, allocations: 130.3 kB / 0.8037 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008571/0.5642, allocations: 0.7339 MB / 0.8045 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5642, allocations: 0 / 0.8045 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.5647, allocations: 399.8 kB / 0.8048 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.5661, allocations: 319.6 kB / 0.8052 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.5672, allocations: 0.8652 MB / 0.806 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.5675, allocations: 0.7639 MB / 0.8067 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.5678, allocations: 102.9 kB / 0.8068 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.5679, allocations: 67.38 kB / 0.8069 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.5679, allocations: 4 kB / 0.8069 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.01086/0.5788, allocations: 7.83 MB / 0.8146 GB, free: 3.988 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)