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.2298/0.2336, allocations: 80.83 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002067/0.2358, allocations: 0.6669 MB / 0.5903 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 4.073e-05/0.2358, allocations: 0 / 0.5903 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.2358, allocations: 0 / 0.5903 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.2359, allocations: 0 / 0.5903 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-06/0.2359, allocations: 0 / 0.5903 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.638e-05/0.2359, allocations: 4 kB / 0.5903 GB, free: 6.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.236, allocations: 4 kB / 0.5903 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.2361, allocations: 11.86 kB / 0.5903 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.2361, allocations: 0 / 0.5903 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.021e-05/0.2361, allocations: 0 / 0.5903 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.2361, allocations: 0 / 0.5903 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-06/0.2361, allocations: 4 kB / 0.5903 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.2362, allocations: 4 kB / 0.5903 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.2362, allocations: 0 / 0.5903 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.365e-05/0.2362, allocations: 0 / 0.5903 GB, free: 6.438 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2362, allocations: 0 / 0.5903 GB, free: 6.438 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2362, allocations: 0 / 0.5903 GB, free: 6.438 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2363, allocations: 0 / 0.5903 GB, free: 6.438 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.0003092/0.2366, allocations: 323 kB / 0.5907 GB, free: 6.074 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.2366, allocations: 8.031 kB / 0.5907 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.2367, allocations: 0.9375 kB / 0.5907 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.837e-05/0.2368, allocations: 164.4 kB / 0.5908 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2368, allocations: 4.359 kB / 0.5908 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.2368, allocations: 4.375 kB / 0.5908 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.595e-05/0.2369, allocations: 26.27 kB / 0.5909 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2369, allocations: 192 / 0.5909 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2369, allocations: 7.922 kB / 0.5909 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2369, allocations: 0 / 0.5909 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.237, allocations: 7.938 kB / 0.5909 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.2371, allocations: 145.7 kB / 0.591 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.19e-05/0.2371, allocations: 22.52 kB / 0.591 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.2372, allocations: 12.89 kB / 0.591 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-06/0.2372, allocations: 0 / 0.591 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.2372, allocations: 30.56 kB / 0.5911 GB, free: 5.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.2372, allocations: 0 / 0.5911 GB, free: 5.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.2374, allocations: 49.56 kB / 0.5911 GB, free: 5.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2374, allocations: 55.53 kB / 0.5912 GB, free: 5.414 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.525e-05/0.2375, allocations: 89.86 kB / 0.5913 GB, free: 5.316 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2375, allocations: 25.7 kB / 0.5913 GB, free: 5.285 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.2375, allocations: 80.14 kB / 0.5914 GB, free: 5.203 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.2376, allocations: 8.125 kB / 0.5914 GB, free: 5.195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.2376, allocations: 13.72 kB / 0.5914 GB, free: 5.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2377, allocations: 310.8 kB / 0.5917 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.2377, allocations: 0 / 0.5917 GB, free: 4.863 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.2377, allocations: 8 kB / 0.5917 GB, free: 4.855 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.2378, allocations: 8.859 kB / 0.5917 GB, free: 4.844 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2378, allocations: 0 / 0.5917 GB, free: 4.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.119e-05/0.2378, allocations: 37.62 kB / 0.5917 GB, free: 4.801 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2379, allocations: 10.03 kB / 0.5917 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2379, allocations: 0 / 0.5917 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2379, allocations: 3.938 kB / 0.5917 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.238, allocations: 0 / 0.5917 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.238, allocations: 0 / 0.5917 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-06/0.238, allocations: 4.094 kB / 0.5917 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.238, allocations: 8 kB / 0.5917 GB, free: 4.777 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 7.356e-05/0.2381, allocations: 109.8 kB / 0.5919 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-06/0.2381, allocations: 0 / 0.5919 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.2381, allocations: 11.05 kB / 0.5919 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.2381, allocations: 0 / 0.5919 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2381, allocations: 0 / 0.5919 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2381, allocations: 0 / 0.5919 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.672e-05/0.2382, allocations: 145.7 kB / 0.592 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2382, allocations: 4 kB / 0.592 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-06/0.2383, allocations: 0 / 0.592 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.2383, allocations: 0 / 0.592 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.2383, allocations: 3.938 kB / 0.592 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2383, allocations: 7.938 kB / 0.592 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2383, allocations: 0 / 0.592 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.203e-05/0.2384, allocations: 61.06 kB / 0.5921 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.2384, allocations: 77.11 kB / 0.5922 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.2384, allocations: 7.969 kB / 0.5922 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-06/0.2385, allocations: 0 / 0.5922 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.2385, allocations: 4 kB / 0.5922 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-06/0.2385, allocations: 3.938 kB / 0.5922 GB, free: 4.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.201e-05/0.2385, allocations: 75.28 kB / 0.5922 GB, free: 4.184 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2385, allocations: 0 / 0.5922 GB, free: 4.184 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.2387, allocations: 0 / 0.5922 GB, free: 4.184 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 0.0001014/0.2389, allocations: 95.23 kB / 0.5923 GB, free: 4.082 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.552e-05/0.2389, allocations: 11.94 kB / 0.5923 GB, free: 4.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2389, allocations: 0 / 0.5923 GB, free: 4.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/0.2389, allocations: 8 kB / 0.5923 GB, free: 4.062 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2391, allocations: 0 / 0.5923 GB, free: 4.062 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.2393, allocations: 74.77 kB / 0.5924 GB, free: 3.961 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2395, allocations: 0.6731 MB / 0.5931 GB, free: 3.262 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.519e-05/0.2396, allocations: 0 / 0.5931 GB, free: 3.262 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.2396, allocations: 7.438 kB / 0.5931 GB, free: 3.254 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.2396, allocations: 4.125 kB / 0.5931 GB, free: 3.25 MB / 446.1 MB Notification: Performance of Templates: time 0.002078/0.2417, allocations: 164.6 kB / 0.5932 GB, free: 3.094 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)