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.231/0.233, allocations: 80.83 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003369/0.2364, allocations: 1.271 MB / 0.5909 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003282/0.2368, allocations: 55.77 kB / 0.591 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.2368, allocations: 0 / 0.591 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.041e-05/0.2369, allocations: 7.875 kB / 0.591 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.2371, allocations: 11.97 kB / 0.591 GB, free: 5.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.2372, allocations: 8 kB / 0.591 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.694e-05/0.2373, allocations: 35.91 kB / 0.591 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.2374, allocations: 0 / 0.591 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.874e-05/0.2374, allocations: 7.984 kB / 0.591 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.2375, allocations: 17.48 kB / 0.5911 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2375, allocations: 3.938 kB / 0.5911 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.2376, allocations: 8 kB / 0.5911 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.2377, allocations: 44.44 kB / 0.5911 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.2378, allocations: 39.69 kB / 0.5911 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.2379, allocations: 71.92 kB / 0.5912 GB, free: 5.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.2379, allocations: 8 kB / 0.5912 GB, free: 5.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2379, allocations: 0 / 0.5912 GB, free: 5.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.2379, allocations: 4 kB / 0.5912 GB, free: 5.516 MB / 446.1 MB 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.0005017/0.2384, allocations: 430.2 kB / 0.5916 GB, free: 5.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.2385, allocations: 8.031 kB / 0.5916 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.2386, allocations: 92.03 kB / 0.5917 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.2388, allocations: 266.7 kB / 0.592 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.2388, allocations: 158.5 kB / 0.5921 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.2389, allocations: 158.6 kB / 0.5923 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.974e-05/0.239, allocations: 104.9 kB / 0.5924 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.239, allocations: 75.28 kB / 0.5925 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.2391, allocations: 150.6 kB / 0.5926 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/0.2392, allocations: 150.6 kB / 0.5928 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.537e-05/0.2392, allocations: 158.5 kB / 0.5929 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.2396, allocations: 0.4938 MB / 0.5934 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.252e-05/0.2396, allocations: 165.1 kB / 0.5935 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.2397, allocations: 80.14 kB / 0.5936 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.2397, allocations: 79.28 kB / 0.5937 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.2398, allocations: 117.8 kB / 0.5938 GB, free: 2.703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2398, allocations: 0 / 0.5938 GB, free: 2.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.42e-05/0.2399, allocations: 37.55 kB / 0.5938 GB, free: 2.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.24, allocations: 126.7 kB / 0.594 GB, free: 2.523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.2402, allocations: 227 kB / 0.5942 GB, free: 2.289 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2402, allocations: 25.7 kB / 0.5942 GB, free: 2.258 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.2403, allocations: 116 kB / 0.5943 GB, free: 2.141 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-06/0.2403, allocations: 0 / 0.5943 GB, free: 2.141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.2404, allocations: 37.69 kB / 0.5943 GB, free: 2.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2405, allocations: 334.8 kB / 0.5947 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.2406, allocations: 55.95 kB / 0.5947 GB, free: 1.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.111e-05/0.2407, allocations: 51.97 kB / 0.5948 GB, free: 1.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.2409, allocations: 143.3 kB / 0.5949 GB, free: 1.516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2409, allocations: 0 / 0.5949 GB, free: 1.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003755/0.2413, allocations: 181.3 kB / 0.5951 GB, free: 1.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2413, allocations: 4 kB / 0.5951 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2413, allocations: 0 / 0.5951 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2413, allocations: 0 / 0.5951 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.856e-06/0.2414, allocations: 4 kB / 0.5951 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.2414, allocations: 0 / 0.5951 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.192e-05/0.2414, allocations: 11.75 kB / 0.5951 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.2414, allocations: 11.94 kB / 0.5951 GB, free: 1.301 MB / 446.1 MB 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.0001309/0.2416, allocations: 206 kB / 0.5953 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.675e-05/0.2417, allocations: 116.9 kB / 0.5954 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.336e-05/0.2417, allocations: 117.5 kB / 0.5955 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-05/0.2418, allocations: 176.3 kB / 0.5957 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.367e-05/0.2419, allocations: 180.2 kB / 0.5959 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.096e-05/0.242, allocations: 184.2 kB / 0.596 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.2422, allocations: 449.8 kB / 0.5965 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.005e-05/0.2423, allocations: 101 kB / 0.5966 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.2423, allocations: 105 kB / 0.5967 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.178e-05/0.2424, allocations: 184.2 kB / 0.5968 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-05/0.2424, allocations: 180.2 kB / 0.597 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-05/0.2425, allocations: 180.2 kB / 0.5972 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-05/0.2426, allocations: 184.5 kB / 0.5974 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.2427, allocations: 323.5 kB / 0.5977 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.2428, allocations: 193.9 kB / 0.5979 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.2429, allocations: 184.2 kB / 0.598 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.243, allocations: 105 kB / 0.5981 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.2431, allocations: 180.3 kB / 0.5983 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.2431, allocations: 104.9 kB / 0.5984 GB, free: 13.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.2432, allocations: 164.5 kB / 0.5986 GB, free: 13.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2432, allocations: 4 kB / 0.5986 GB, free: 13.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.2435, allocations: 16 kB / 0.5986 GB, free: 13.52 MB / 462.1 MB 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.0001655/0.2437, allocations: 178.5 kB / 0.5988 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.2438, allocations: 79.97 kB / 0.5988 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2438, allocations: 0 / 0.5988 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.2438, allocations: 0 / 0.5988 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.2442, allocations: 0.5289 MB / 0.5993 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.2447, allocations: 323.9 kB / 0.5997 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.2449, allocations: 0.7082 MB / 0.6003 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.336e-05/0.245, allocations: 11.98 kB / 0.6004 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.245, allocations: 7.438 kB / 0.6004 GB, free: 11.62 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.245, allocations: 3.938 kB / 0.6004 GB, free: 11.62 MB / 462.1 MB Notification: Performance of Templates: time 0.003014/0.248, allocations: 0.7126 MB / 0.6011 GB, free: 10.92 MB / 462.1 MB 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)