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.7792/0.7792, allocations: 133.7 MB / 148.6 MB, free: 13.64 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.001142/0.001142, allocations: 179 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.653/1.653, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001654/0.001654, allocations: 118.4 kB / 454.6 MB, free: 9.723 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.2016/0.2023, allocations: 73.41 MB / 0.6812 GB, free: 5.555 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5736/0.776, allocations: 102.3 MB / 0.781 GB, free: 23.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.7763, allocations: 71.17 kB / 0.7811 GB, free: 23.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04511/0.8215, allocations: 18.88 MB / 0.7995 GB, free: 10.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.8215, allocations: 0 / 0.7995 GB, free: 10.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.8216, allocations: 4 kB / 0.7996 GB, free: 10.64 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.0008752/0.8224, allocations: 0.6222 MB / 0.8002 GB, free: 9.949 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/0.8225, allocations: 12.56 kB / 0.8002 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.274e-05/0.8226, allocations: 38.98 kB / 0.8002 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.8229, allocations: 241.9 kB / 0.8004 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.823, allocations: 20.27 kB / 0.8005 GB, free: 9.609 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.823, allocations: 16 kB / 0.8005 GB, free: 9.594 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.8235, allocations: 456.4 kB / 0.8009 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.8235, allocations: 0 / 0.8009 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.8235, allocations: 11.98 kB / 0.8009 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.8236, allocations: 2.922 kB / 0.8009 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.8238, allocations: 323.8 kB / 0.8012 GB, free: 8.805 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.8243, allocations: 0.5547 MB / 0.8018 GB, free: 8.191 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008984/0.8253, allocations: 1.029 MB / 0.8028 GB, free: 7.125 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.8253, allocations: 12.44 kB / 0.8028 GB, free: 7.113 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.8258, allocations: 485 kB / 0.8033 GB, free: 6.617 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 1.342e-06/0.8258, allocations: 0 / 0.8033 GB, free: 6.617 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.001199/0.827, allocations: 1.113 MB / 0.8043 GB, free: 5.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.8271, allocations: 144.5 kB / 0.8045 GB, free: 5.328 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.8273, allocations: 228 kB / 0.8047 GB, free: 5.102 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.8273, allocations: 33.7 kB / 0.8047 GB, free: 5.062 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.8274, allocations: 125.1 kB / 0.8048 GB, free: 4.938 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.8274, allocations: 75.05 kB / 0.8049 GB, free: 4.863 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.8275, allocations: 8 kB / 0.8049 GB, free: 4.855 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.8275, allocations: 342.8 kB / 0.8053 GB, free: 4.512 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.8278, allocations: 325.5 kB / 0.8056 GB, free: 4.195 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.8282, allocations: 418.5 kB / 0.806 GB, free: 3.754 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.8285, allocations: 369 kB / 0.8063 GB, free: 3.395 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8286, allocations: 0 / 0.8063 GB, free: 3.395 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007764/0.8293, allocations: 0.8254 MB / 0.8071 GB, free: 2.562 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8294, allocations: 4 kB / 0.8071 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8294, allocations: 8.406 kB / 0.8071 GB, free: 2.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.8294, allocations: 7.953 kB / 0.8071 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.8296, allocations: 47.91 kB / 0.8072 GB, free: 2.496 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.8296, allocations: 8.547 kB / 0.8072 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.8298, allocations: 19.94 kB / 0.8072 GB, free: 2.469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/0.83, allocations: 211.5 kB / 0.8074 GB, free: 2.262 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 () * 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.0001758/0.8302, allocations: 189.7 kB / 0.8076 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.8303, allocations: 31.62 kB / 0.8076 GB, free: 2.035 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.8303, allocations: 38.17 kB / 0.8077 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.8303, allocations: 14.77 kB / 0.8077 GB, free: 1.988 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.8304, allocations: 0 / 0.8077 GB, free: 1.988 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.8304, allocations: 3.984 kB / 0.8077 GB, free: 1.984 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.832, allocations: 1.695 MB / 0.8093 GB, free: 236 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.832, allocations: 7.938 kB / 0.8093 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.8321, allocations: 19.92 kB / 0.8094 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.8321, allocations: 4 kB / 0.8094 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.8321, allocations: 23.97 kB / 0.8094 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.8321, allocations: 4 kB / 0.8094 GB, free: 176 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8321, allocations: 0 / 0.8094 GB, free: 176 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.8333, allocations: 1.147 MB / 0.8105 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.926e-05/0.8334, allocations: 104.7 kB / 0.8106 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.8334, allocations: 12 kB / 0.8106 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.8337, allocations: 8 kB / 0.8106 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.8338, allocations: 55.88 kB / 0.8107 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/0.834, allocations: 227.6 kB / 0.8109 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001589/0.8342, allocations: 172.5 kB / 0.8111 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.873e-06/0.8342, allocations: 0 / 0.8111 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004701/0.8347, allocations: 67.94 kB / 0.8111 GB, free: 14.33 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) * 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.000204/0.8349, allocations: 139.1 kB / 0.8113 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009656/0.8359, allocations: 0.7322 MB / 0.812 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8359, allocations: 0 / 0.812 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.8364, allocations: 410.2 kB / 0.8124 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.8378, allocations: 305.1 kB / 0.8127 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.8392, allocations: 1.02 MB / 0.8137 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.8395, allocations: 0.7608 MB / 0.8144 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002647/0.8398, allocations: 98.91 kB / 0.8145 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.8399, allocations: 71.38 kB / 0.8146 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.84, allocations: 0 / 0.8146 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.01211/0.8521, allocations: 7.834 MB / 0.8222 GB, free: 2.992 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)