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.2249/0.227, allocations: 80.84 MB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.003715/0.2308, allocations: 1.405 MB / 0.672 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.2317, allocations: 275.1 kB / 0.6722 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.2317, allocations: 4 kB / 0.6722 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.232, allocations: 15.8 kB / 0.6723 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.348e-05/0.2321, allocations: 23.84 kB / 0.6723 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.2325, allocations: 91.77 kB / 0.6724 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.2329, allocations: 236 kB / 0.6726 GB, free: 0 / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.233, allocations: 9.172 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2331, allocations: 83.77 kB / 0.6727 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.2333, allocations: 103.7 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.2334, allocations: 16 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.993e-05/0.2334, allocations: 16 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.2336, allocations: 91.77 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.2337, allocations: 103.3 kB / 0.673 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.2341, allocations: 258.8 kB / 0.6732 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2341, allocations: 0 / 0.6732 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2341, allocations: 4 kB / 0.6732 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.2341, allocations: 4 kB / 0.6732 GB, free: 15.32 MB / 0.5137 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.001102/0.2352, allocations: 0.7016 MB / 0.6739 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.2353, allocations: 8.031 kB / 0.6739 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.2354, allocations: 24.8 kB / 0.674 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.2358, allocations: 278.8 kB / 0.6742 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.2358, allocations: 20.66 kB / 0.6743 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.2358, allocations: 16.38 kB / 0.6743 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.2365, allocations: 459.3 kB / 0.6747 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2365, allocations: 192 / 0.6747 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.2365, allocations: 11.94 kB / 0.6747 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2366, allocations: 4 kB / 0.6747 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.237, allocations: 326.1 kB / 0.675 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.2377, allocations: 0.5586 MB / 0.6756 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.239, allocations: 1.033 MB / 0.6766 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008157/0.2398, allocations: 0.6632 MB / 0.6772 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.2399, allocations: 4 kB / 0.6772 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000741/0.2406, allocations: 486.2 kB / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.2406, allocations: 0 / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37): time 0.001535/0.2422, allocations: 1.114 MB / 0.6788 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.2423, allocations: 140.5 kB / 0.6789 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.2426, allocations: 256.9 kB / 0.6792 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.2426, allocations: 37.7 kB / 0.6792 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2427, allocations: 121.1 kB / 0.6793 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.2428, allocations: 83.52 kB / 0.6794 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.243, allocations: 110.1 kB / 0.6795 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2432, allocations: 342.8 kB / 0.6798 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.2436, allocations: 332.7 kB / 0.6801 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.2441, allocations: 422.4 kB / 0.6806 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009493/0.2451, allocations: 0.7712 MB / 0.6813 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2451, allocations: 0 / 0.6813 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001094/0.2462, allocations: 0.8368 MB / 0.6821 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.2462, allocations: 16.5 kB / 0.6821 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.2462, allocations: 4 kB / 0.6821 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.2463, allocations: 4 kB / 0.6821 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.2465, allocations: 43.84 kB / 0.6822 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.2465, allocations: 4 kB / 0.6822 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.2468, allocations: 35.77 kB / 0.6822 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/0.2471, allocations: 263.5 kB / 0.6825 GB, free: 5.457 MB / 0.5137 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 (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.0002567/0.2474, allocations: 193.8 kB / 0.6827 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.2475, allocations: 35.69 kB / 0.6827 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.502e-05/0.2476, allocations: 38.17 kB / 0.6827 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.2476, allocations: 8 kB / 0.6827 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.2476, allocations: 0 / 0.6827 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.2476, allocations: 4.266 kB / 0.6827 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.2498, allocations: 1.717 MB / 0.6844 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2498, allocations: 3.984 kB / 0.6844 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/0.2498, allocations: 19.92 kB / 0.6844 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.2498, allocations: 7.938 kB / 0.6845 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.2499, allocations: 19.97 kB / 0.6845 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2499, allocations: 4 kB / 0.6845 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2499, allocations: 0 / 0.6845 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.2511, allocations: 1.126 MB / 0.6856 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.2512, allocations: 104.9 kB / 0.6857 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.2513, allocations: 8 kB / 0.6857 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.2515, allocations: 8 kB / 0.6857 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.2517, allocations: 55.94 kB / 0.6857 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003194/0.252, allocations: 275.5 kB / 0.686 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001967/0.2522, allocations: 184.4 kB / 0.6862 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2522, allocations: 0 / 0.6862 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004668/0.2527, allocations: 56 kB / 0.6862 GB, free: 1.508 MB / 0.5137 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 (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.0002121/0.2529, allocations: 139.1 kB / 0.6864 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.254, allocations: 0.7413 MB / 0.6871 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.254, allocations: 256 / 0.6871 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005347/0.2546, allocations: 415.6 kB / 0.6875 GB, free: 220 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.2563, allocations: 368.1 kB / 0.6878 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2579, allocations: 0.9704 MB / 0.6888 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.2583, allocations: 0.7608 MB / 0.6895 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003189/0.2587, allocations: 94.92 kB / 0.6896 GB, free: 14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.2588, allocations: 71.38 kB / 0.6897 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of SimCode: time 8.02e-07/0.2588, allocations: 0 / 0.6897 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.01943/0.2783, allocations: 8.841 MB / 0.6983 GB, free: 5.168 MB / 0.5294 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)