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.2022/0.2043, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001844/0.2062, allocations: 0.5911 MB / 0.6712 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.791e-05/0.2062, allocations: 4 kB / 0.6712 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.2062, allocations: 0 / 0.6712 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.2063, allocations: 0 / 0.6712 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.744e-06/0.2063, allocations: 0 / 0.6712 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.674e-05/0.2064, allocations: 0 / 0.6712 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.665e-05/0.2064, allocations: 4 kB / 0.6712 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.261e-05/0.2065, allocations: 4 kB / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.404e-05/0.2065, allocations: 3.938 kB / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.447e-05/0.2065, allocations: 7.922 kB / 0.6712 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.2066, allocations: 0 / 0.6712 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-06/0.2066, allocations: 0 / 0.6712 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.2066, allocations: 4 kB / 0.6712 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.2066, allocations: 0 / 0.6712 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.102e-05/0.2067, allocations: 7.984 kB / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2067, allocations: 0 / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2067, allocations: 0 / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.2067, allocations: 0 / 0.6712 GB, free: 1.402 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003247/0.207, allocations: 307.6 kB / 0.6715 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2071, allocations: 12.06 kB / 0.6715 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.2071, allocations: 0.9375 kB / 0.6715 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2073, allocations: 168.3 kB / 0.6717 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2073, allocations: 4.375 kB / 0.6717 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.2073, allocations: 384 / 0.6717 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.811e-05/0.2074, allocations: 30.27 kB / 0.6717 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2074, allocations: 192 / 0.6717 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2074, allocations: 3.938 kB / 0.6717 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2074, allocations: 0 / 0.6717 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.2074, allocations: 3.938 kB / 0.6717 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.2076, allocations: 157.6 kB / 0.6719 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.391e-05/0.2077, allocations: 18.58 kB / 0.6719 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.2077, allocations: 12.94 kB / 0.6719 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.2077, allocations: 0 / 0.6719 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.2078, allocations: 34.56 kB / 0.6719 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.2078, allocations: 3.938 kB / 0.6719 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001288/0.2079, allocations: 41.58 kB / 0.672 GB, free: 460 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2079, allocations: 51.41 kB / 0.672 GB, free: 396 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.565e-05/0.208, allocations: 93.98 kB / 0.6721 GB, free: 292 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.208, allocations: 29.7 kB / 0.6721 GB, free: 256 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.208, allocations: 80.14 kB / 0.6722 GB, free: 172 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.2081, allocations: 0 / 0.6722 GB, free: 172 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.2081, allocations: 10.06 kB / 0.6722 GB, free: 156 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2082, allocations: 314.8 kB / 0.6725 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-06/0.2083, allocations: 4 kB / 0.6725 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.2083, allocations: 0 / 0.6725 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.2083, allocations: 16.92 kB / 0.6725 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2083, allocations: 0 / 0.6725 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.413e-05/0.2083, allocations: 33.64 kB / 0.6726 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2084, allocations: 4 kB / 0.6726 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2084, allocations: 0 / 0.6726 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2084, allocations: 7.938 kB / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.2085, allocations: 0 / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.2085, allocations: 0 / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-06/0.2085, allocations: 0 / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.2085, allocations: 4.031 kB / 0.6726 GB, free: 15.76 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): 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 6.73e-05/0.2086, allocations: 113.8 kB / 0.6727 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-06/0.2086, allocations: 0 / 0.6727 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.2086, allocations: 11.06 kB / 0.6727 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2086, allocations: 0 / 0.6727 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2086, allocations: 0 / 0.6727 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.2086, allocations: 0 / 0.6727 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.657e-05/0.2087, allocations: 145.6 kB / 0.6728 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2087, allocations: 7.984 kB / 0.6729 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-06/0.2087, allocations: 7.938 kB / 0.6729 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.2087, allocations: 0 / 0.6729 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2088, allocations: 3.938 kB / 0.6729 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.2088, allocations: 0 / 0.6729 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2088, allocations: 0 / 0.6729 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.66e-05/0.2088, allocations: 61.08 kB / 0.6729 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.2089, allocations: 77.11 kB / 0.673 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.2089, allocations: 11.86 kB / 0.673 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.2089, allocations: 4.031 kB / 0.673 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.2089, allocations: 0 / 0.673 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.2089, allocations: 4 kB / 0.673 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.039e-05/0.209, allocations: 79.28 kB / 0.6731 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.209, allocations: 0 / 0.6731 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002077/0.2092, allocations: 0 / 0.6731 GB, free: 15.14 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 (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 8.755e-05/0.2093, allocations: 95.23 kB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.675e-05/0.2093, allocations: 11.94 kB / 0.6732 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2094, allocations: 0 / 0.6732 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.402e-06/0.2094, allocations: 4 kB / 0.6732 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.2095, allocations: 4 kB / 0.6732 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.2097, allocations: 84.92 kB / 0.6733 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.2099, allocations: 0.669 MB / 0.6739 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.239e-05/0.2099, allocations: 0 / 0.6739 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.71e-05/0.21, allocations: 7.438 kB / 0.6739 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.21, allocations: 0 / 0.6739 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.002078/0.212, allocations: 173.1 kB / 0.6741 GB, free: 14.04 MB / 0.5137 GB 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)