Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime") [/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.1808/0.1828, allocations: 80.84 MB / 0.5899 GB, free: 7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002154/0.185, allocations: 0.6629 MB / 0.5905 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 4.72e-05/0.1851, allocations: 3.984 kB / 0.5905 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.1851, allocations: 4 kB / 0.5905 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.224e-05/0.1851, allocations: 0 / 0.5905 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.1851, allocations: 0 / 0.5905 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.2e-05/0.1852, allocations: 0 / 0.5905 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.333e-05/0.1852, allocations: 8 kB / 0.5905 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.1853, allocations: 0 / 0.5905 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.746e-05/0.1853, allocations: 0 / 0.5905 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.979e-05/0.1853, allocations: 0 / 0.5905 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1854, allocations: 0 / 0.5905 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.667e-06/0.1854, allocations: 0 / 0.5905 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.1854, allocations: 3.938 kB / 0.5905 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.1854, allocations: 4 kB / 0.5905 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.281e-05/0.1855, allocations: 4 kB / 0.5905 GB, free: 6.305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1855, allocations: 0 / 0.5905 GB, free: 6.305 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1855, allocations: 0 / 0.5905 GB, free: 6.305 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.1855, allocations: 0 / 0.5905 GB, free: 6.305 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003335/0.1858, allocations: 322.3 kB / 0.5908 GB, free: 5.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1859, allocations: 8.031 kB / 0.5909 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.1859, allocations: 0.9375 kB / 0.5909 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.186, allocations: 164.4 kB / 0.591 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1861, allocations: 8.312 kB / 0.591 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.1861, allocations: 4.359 kB / 0.591 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1862, allocations: 30.27 kB / 0.5911 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1862, allocations: 192 / 0.5911 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1862, allocations: 7.922 kB / 0.5911 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1862, allocations: 0 / 0.5911 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.1862, allocations: 0 / 0.5911 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.1864, allocations: 149.7 kB / 0.5912 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.011e-05/0.1865, allocations: 22.52 kB / 0.5912 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.105e-05/0.1865, allocations: 8.953 kB / 0.5912 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.1865, allocations: 0 / 0.5912 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.1866, allocations: 30.56 kB / 0.5913 GB, free: 5.402 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.1867, allocations: 0 / 0.5913 GB, free: 5.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.1868, allocations: 41.62 kB / 0.5913 GB, free: 5.355 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1869, allocations: 55.41 kB / 0.5914 GB, free: 5.289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.861e-05/0.1869, allocations: 93.98 kB / 0.5914 GB, free: 5.188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1869, allocations: 29.64 kB / 0.5915 GB, free: 5.152 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.187, allocations: 80.14 kB / 0.5915 GB, free: 5.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.187, allocations: 8.125 kB / 0.5916 GB, free: 5.062 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.187, allocations: 13.66 kB / 0.5916 GB, free: 5.043 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1872, allocations: 314.8 kB / 0.5919 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-06/0.1872, allocations: 3.938 kB / 0.5919 GB, free: 4.723 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-06/0.1872, allocations: 0 / 0.5919 GB, free: 4.723 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.1872, allocations: 16.92 kB / 0.5919 GB, free: 4.703 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1872, allocations: 0 / 0.5919 GB, free: 4.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.7e-05/0.1873, allocations: 33.69 kB / 0.5919 GB, free: 4.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1873, allocations: 6.031 kB / 0.5919 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1873, allocations: 0 / 0.5919 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1873, allocations: 7.938 kB / 0.5919 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.1874, allocations: 0 / 0.5919 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1874, allocations: 0 / 0.5919 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.1874, allocations: 0 / 0.5919 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.1874, allocations: 3.969 kB / 0.5919 GB, free: 4.648 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): 1 * 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 5.958e-05/0.1875, allocations: 113.8 kB / 0.592 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-06/0.1875, allocations: 0 / 0.592 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/0.1875, allocations: 15.05 kB / 0.5921 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1875, allocations: 0 / 0.5921 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1875, allocations: 0 / 0.5921 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1875, allocations: 0 / 0.5921 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.859e-05/0.1876, allocations: 145.7 kB / 0.5922 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1876, allocations: 0 / 0.5922 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-06/0.1877, allocations: 0 / 0.5922 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.1877, allocations: 4 kB / 0.5922 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.1877, allocations: 3.938 kB / 0.5922 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1877, allocations: 0 / 0.5922 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1877, allocations: 0 / 0.5922 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.806e-05/0.1878, allocations: 61.12 kB / 0.5923 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.1878, allocations: 81.11 kB / 0.5923 GB, free: 4.141 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.1878, allocations: 3.938 kB / 0.5923 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-06/0.1878, allocations: 4.031 kB / 0.5924 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.1879, allocations: 7.938 kB / 0.5924 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.1879, allocations: 0 / 0.5924 GB, free: 4.125 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.595e-05/0.1879, allocations: 75.28 kB / 0.5924 GB, free: 4.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1879, allocations: 0 / 0.5924 GB, free: 4.051 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.1881, allocations: 0 / 0.5924 GB, free: 4.051 MB / 446.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 (1): * Single equations (assignments): 1 * 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 9.506e-05/0.1882, allocations: 99.17 kB / 0.5925 GB, free: 3.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.126e-05/0.1883, allocations: 4 kB / 0.5925 GB, free: 3.941 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1883, allocations: 4.062 kB / 0.5925 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/0.1883, allocations: 7.938 kB / 0.5925 GB, free: 3.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1884, allocations: 4 kB / 0.5925 GB, free: 3.926 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000172/0.1886, allocations: 68.94 kB / 0.5926 GB, free: 3.832 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1889, allocations: 0.6768 MB / 0.5933 GB, free: 3.129 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.088e-05/0.1889, allocations: 3.938 kB / 0.5933 GB, free: 3.125 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.1889, allocations: 7.438 kB / 0.5933 GB, free: 3.117 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1889, allocations: 0 / 0.5933 GB, free: 3.117 MB / 446.1 MB Notification: Performance of Templates: time 0.00184/0.1908, allocations: 168.8 kB / 0.5934 GB, free: 2.957 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)