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.221/0.2217, allocations: 82.22 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001557/0.2233, allocations: 0.935 MB / 0.5943 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002152/0.2236, allocations: 43.91 kB / 0.5943 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.2236, allocations: 0 / 0.5943 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.2237, allocations: 4 kB / 0.5943 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.2238, allocations: 3.984 kB / 0.5943 GB, free: 5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.2239, allocations: 19.92 kB / 0.5943 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.365e-05/0.224, allocations: 7.984 kB / 0.5944 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.2241, allocations: 0 / 0.5944 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.2241, allocations: 4 kB / 0.5944 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/0.2242, allocations: 7.922 kB / 0.5944 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.2242, allocations: 0 / 0.5944 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-05/0.2242, allocations: 4 kB / 0.5944 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.831e-05/0.2243, allocations: 43.89 kB / 0.5944 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.2244, allocations: 41.64 kB / 0.5944 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.2e-05/0.2245, allocations: 52.12 kB / 0.5945 GB, free: 4.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2245, allocations: 0 / 0.5945 GB, free: 4.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2245, allocations: 4 kB / 0.5945 GB, free: 4.812 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.2245, allocations: 0 / 0.5945 GB, free: 4.812 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.0004454/0.225, allocations: 417.7 kB / 0.5949 GB, free: 4.359 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.225, allocations: 8.031 kB / 0.5949 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.2251, allocations: 83.19 kB / 0.595 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.2253, allocations: 258.2 kB / 0.5952 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.022e-05/0.2254, allocations: 158.6 kB / 0.5954 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.2255, allocations: 154.6 kB / 0.5955 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.859e-05/0.2255, allocations: 108.9 kB / 0.5956 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.2256, allocations: 75.28 kB / 0.5957 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-05/0.2256, allocations: 150.6 kB / 0.5959 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/0.2257, allocations: 154.6 kB / 0.596 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.83e-05/0.2258, allocations: 150.6 kB / 0.5961 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.2261, allocations: 0.49 MB / 0.5966 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.748e-05/0.2262, allocations: 185 kB / 0.5968 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.2263, allocations: 79.28 kB / 0.5969 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.2263, allocations: 109.8 kB / 0.597 GB, free: 2.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.975e-06/0.2263, allocations: 3.984 kB / 0.597 GB, free: 2.102 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.482e-05/0.2264, allocations: 41.47 kB / 0.597 GB, free: 2.055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/0.2265, allocations: 126.7 kB / 0.5971 GB, free: 1.918 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.2268, allocations: 231 kB / 0.5974 GB, free: 1.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2268, allocations: 25.7 kB / 0.5974 GB, free: 1.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.2269, allocations: 112.3 kB / 0.5975 GB, free: 1.531 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.2269, allocations: 0 / 0.5975 GB, free: 1.531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.227, allocations: 0 / 0.5975 GB, free: 1.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2271, allocations: 326.8 kB / 0.5978 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.2272, allocations: 56.14 kB / 0.5979 GB, free: 1.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.2273, allocations: 60.27 kB / 0.5979 GB, free: 1.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.2274, allocations: 60.72 kB / 0.598 GB, free: 1.031 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2274, allocations: 0 / 0.598 GB, free: 1.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003119/0.2277, allocations: 173.2 kB / 0.5981 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2277, allocations: 4.062 kB / 0.5981 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2278, allocations: 4 kB / 0.5981 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.2278, allocations: 3.953 kB / 0.5982 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.2278, allocations: 0 / 0.5982 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2278, allocations: 4 kB / 0.5982 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.2278, allocations: 15.73 kB / 0.5982 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.2279, allocations: 8 kB / 0.5982 GB, free: 0.8203 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.228, allocations: 201.1 kB / 0.5984 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.2281, allocations: 120.8 kB / 0.5985 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.2282, allocations: 113.5 kB / 0.5986 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.757e-05/0.2282, allocations: 180.2 kB / 0.5988 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-05/0.2283, allocations: 184.3 kB / 0.5989 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.305e-05/0.2284, allocations: 180.2 kB / 0.5991 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.2287, allocations: 437.1 kB / 0.5995 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-05/0.2287, allocations: 105 kB / 0.5996 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.2288, allocations: 113.8 kB / 0.5997 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.135e-05/0.2289, allocations: 176.3 kB / 0.5999 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.268e-05/0.2289, allocations: 176.3 kB / 0.6001 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.391e-05/0.229, allocations: 180.2 kB / 0.6002 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.655e-05/0.2291, allocations: 184.2 kB / 0.6004 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.2293, allocations: 327.8 kB / 0.6007 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.2294, allocations: 189.9 kB / 0.6009 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.2295, allocations: 192.2 kB / 0.6011 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.2296, allocations: 105 kB / 0.6012 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/0.2297, allocations: 184.2 kB / 0.6014 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.2297, allocations: 104.9 kB / 0.6015 GB, free: 13.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.2298, allocations: 160.6 kB / 0.6016 GB, free: 13.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2298, allocations: 0 / 0.6016 GB, free: 13.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.2301, allocations: 16 kB / 0.6016 GB, free: 13.04 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 (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.0001679/0.2303, allocations: 178.5 kB / 0.6018 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.2305, allocations: 87.89 kB / 0.6019 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2305, allocations: 0 / 0.6019 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.2305, allocations: 3.938 kB / 0.6019 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.2309, allocations: 0.5185 MB / 0.6024 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.2313, allocations: 305.4 kB / 0.6027 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.2316, allocations: 0.716 MB / 0.6034 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.242e-05/0.2316, allocations: 11.98 kB / 0.6034 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.2316, allocations: 7.438 kB / 0.6034 GB, free: 11.16 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2316, allocations: 0 / 0.6034 GB, free: 11.16 MB / 462.1 MB Notification: Performance of Templates: time 0.003227/0.2349, allocations: 0.6785 MB / 0.6041 GB, free: 10.49 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: