Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [/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.2228/0.2249, allocations: 80.83 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002738/0.2277, allocations: 1.198 MB / 0.6718 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003064/0.228, allocations: 63.69 kB / 0.6718 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.2281, allocations: 7.938 kB / 0.6718 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.2281, allocations: 0 / 0.6718 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.2283, allocations: 7.984 kB / 0.6719 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.2285, allocations: 15.92 kB / 0.6719 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.449e-05/0.2286, allocations: 12 kB / 0.6719 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.726e-05/0.2286, allocations: 7.984 kB / 0.6719 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.2287, allocations: 7.984 kB / 0.6719 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.2288, allocations: 8.688 kB / 0.6719 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2288, allocations: 0 / 0.6719 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.441e-05/0.2289, allocations: 11.98 kB / 0.6719 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.229, allocations: 44.39 kB / 0.672 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.229, allocations: 39.75 kB / 0.672 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.2292, allocations: 87.44 kB / 0.6721 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2292, allocations: 0 / 0.6721 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2292, allocations: 0 / 0.6721 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.2292, allocations: 0 / 0.6721 GB, free: 0.5273 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005133/0.2298, allocations: 426.7 kB / 0.6725 GB, free: 64 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2298, allocations: 8.031 kB / 0.6725 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.2299, allocations: 88.12 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.2301, allocations: 263.5 kB / 0.6728 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-05/0.2302, allocations: 170.7 kB / 0.673 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-05/0.2303, allocations: 150.6 kB / 0.6731 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.06e-05/0.2304, allocations: 109.2 kB / 0.6732 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.2304, allocations: 75.28 kB / 0.6733 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.2305, allocations: 154.6 kB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.525e-05/0.2305, allocations: 154.6 kB / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.55e-05/0.2306, allocations: 150.6 kB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.231, allocations: 493.8 kB / 0.6742 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.2311, allocations: 177 kB / 0.6744 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.2311, allocations: 84.14 kB / 0.6745 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.2312, allocations: 75.28 kB / 0.6745 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.2312, allocations: 121.8 kB / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2313, allocations: 0 / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.301e-05/0.2313, allocations: 37.61 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.2314, allocations: 126.7 kB / 0.6748 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.2317, allocations: 231.1 kB / 0.675 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.2317, allocations: 25.7 kB / 0.6751 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.2318, allocations: 112.1 kB / 0.6752 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.2318, allocations: 0 / 0.6752 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.2319, allocations: 33.7 kB / 0.6752 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.232, allocations: 330.8 kB / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/0.2321, allocations: 63.83 kB / 0.6756 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.2322, allocations: 59.95 kB / 0.6756 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.2324, allocations: 134.9 kB / 0.6758 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2324, allocations: 0 / 0.6758 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003314/0.2327, allocations: 178.2 kB / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2327, allocations: 4.781 kB / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2327, allocations: 0 / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2328, allocations: 0 / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.344e-06/0.2328, allocations: 3.984 kB / 0.6759 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2328, allocations: 0 / 0.6759 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.2328, allocations: 19.78 kB / 0.676 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.2329, allocations: 7.938 kB / 0.676 GB, free: 12.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001311/0.233, allocations: 217 kB / 0.6762 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.2331, allocations: 116.9 kB / 0.6763 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.2332, allocations: 113.3 kB / 0.6764 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.516e-05/0.2332, allocations: 184.2 kB / 0.6766 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-05/0.2333, allocations: 180.2 kB / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.039e-05/0.2334, allocations: 188.2 kB / 0.6769 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.2337, allocations: 437.1 kB / 0.6773 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.659e-05/0.2337, allocations: 105 kB / 0.6774 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.2337, allocations: 104.9 kB / 0.6775 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.64e-05/0.2338, allocations: 180.3 kB / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-05/0.2339, allocations: 180.2 kB / 0.6779 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.907e-05/0.234, allocations: 180.3 kB / 0.6781 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.949e-05/0.234, allocations: 184.3 kB / 0.6782 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.2342, allocations: 323.8 kB / 0.6785 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2343, allocations: 197.9 kB / 0.6787 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.454e-05/0.2344, allocations: 184.3 kB / 0.6789 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.2345, allocations: 109 kB / 0.679 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.2346, allocations: 184.2 kB / 0.6792 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.2346, allocations: 101 kB / 0.6793 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000127/0.2348, allocations: 156.6 kB / 0.6794 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2348, allocations: 0 / 0.6794 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002611/0.235, allocations: 20 kB / 0.6794 GB, free: 8.512 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002188/0.2353, allocations: 174.5 kB / 0.6796 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.2354, allocations: 87.83 kB / 0.6797 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2354, allocations: 0 / 0.6797 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.2354, allocations: 0 / 0.6797 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.2359, allocations: 459.6 kB / 0.6801 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.2363, allocations: 301.9 kB / 0.6804 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.2366, allocations: 0.7119 MB / 0.6811 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.114e-05/0.2367, allocations: 7.938 kB / 0.6811 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.2367, allocations: 11.44 kB / 0.6811 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.2367, allocations: 0 / 0.6811 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of Templates: time 0.003349/0.2401, allocations: 0.7461 MB / 0.6819 GB, free: 5.965 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)