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.1982/0.2002, allocations: 80.84 MB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002116/0.2024, allocations: 0.601 MB / 0.6712 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 5.343e-05/0.2024, allocations: 3.984 kB / 0.6712 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.2025, allocations: 0 / 0.6712 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.2025, allocations: 0 / 0.6712 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-06/0.2025, allocations: 0 / 0.6712 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.17e-05/0.2026, allocations: 4 kB / 0.6712 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.54e-05/0.2026, allocations: 7.984 kB / 0.6712 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/0.2027, allocations: 4 kB / 0.6712 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.2027, allocations: 0 / 0.6712 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.322e-05/0.2028, allocations: 7.875 kB / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.2028, allocations: 0 / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.867e-06/0.2028, allocations: 0 / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.2028, allocations: 0 / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.2028, allocations: 4 kB / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.982e-05/0.2029, allocations: 0 / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2029, allocations: 0 / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.925e-06/0.2029, allocations: 0 / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2029, allocations: 0 / 0.6712 GB, free: 1.422 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.0003378/0.2033, allocations: 319.6 kB / 0.6715 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2033, allocations: 8.031 kB / 0.6715 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.2033, allocations: 0.9375 kB / 0.6715 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2035, allocations: 160.4 kB / 0.6717 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2035, allocations: 384 / 0.6717 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.2035, allocations: 4.375 kB / 0.6717 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.2036, allocations: 26.27 kB / 0.6717 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2036, allocations: 192 / 0.6717 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2036, allocations: 3.938 kB / 0.6717 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2036, allocations: 4 kB / 0.6717 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.2037, allocations: 7.938 kB / 0.6717 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.2038, allocations: 153.6 kB / 0.6719 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.847e-05/0.2039, allocations: 14.58 kB / 0.6719 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.367e-05/0.2039, allocations: 8.953 kB / 0.6719 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.2039, allocations: 0 / 0.6719 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.2039, allocations: 34.56 kB / 0.6719 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.234e-06/0.2039, allocations: 0 / 0.6719 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.2041, allocations: 49.52 kB / 0.672 GB, free: 484 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.2041, allocations: 55.39 kB / 0.672 GB, free: 416 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.738e-05/0.2042, allocations: 89.86 kB / 0.6721 GB, free: 316 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.2042, allocations: 29.64 kB / 0.6721 GB, free: 280 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.2042, allocations: 80.14 kB / 0.6722 GB, free: 196 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.2043, allocations: 0 / 0.6722 GB, free: 196 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.2043, allocations: 14.19 kB / 0.6722 GB, free: 176 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2044, allocations: 314.8 kB / 0.6725 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.2044, allocations: 4 kB / 0.6725 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.2045, allocations: 0 / 0.6725 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.2045, allocations: 8.859 kB / 0.6725 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2045, allocations: 0 / 0.6725 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.523e-05/0.2045, allocations: 33.64 kB / 0.6726 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2046, allocations: 11.98 kB / 0.6726 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2046, allocations: 96 / 0.6726 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2046, allocations: 7.938 kB / 0.6726 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.2047, allocations: 4 kB / 0.6726 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2047, allocations: 0 / 0.6726 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.065e-05/0.2047, allocations: 0 / 0.6726 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2047, allocations: 7.984 kB / 0.6726 GB, free: 15.77 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 7.485e-05/0.2048, allocations: 109.8 kB / 0.6727 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-06/0.2048, allocations: 0 / 0.6727 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.2048, allocations: 7.062 kB / 0.6727 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2048, allocations: 0 / 0.6727 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2048, allocations: 4 kB / 0.6727 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2049, allocations: 0 / 0.6727 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.546e-05/0.205, allocations: 157.6 kB / 0.6729 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.205, allocations: 0 / 0.6729 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-06/0.205, allocations: 0 / 0.6729 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.205, allocations: 0 / 0.6729 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.205, allocations: 3.938 kB / 0.6729 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.205, allocations: 4 kB / 0.6729 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.205, allocations: 0 / 0.6729 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.527e-05/0.2051, allocations: 65.06 kB / 0.6729 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.2051, allocations: 77.11 kB / 0.673 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.2051, allocations: 3.938 kB / 0.673 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-06/0.2051, allocations: 7.938 kB / 0.673 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.2052, allocations: 0 / 0.673 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-06/0.2052, allocations: 0 / 0.673 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.2052, allocations: 79.28 kB / 0.6731 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2052, allocations: 0 / 0.6731 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001942/0.2054, allocations: 4.031 kB / 0.6731 GB, free: 15.16 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 0.0001019/0.2055, allocations: 95.23 kB / 0.6732 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.84e-05/0.2056, allocations: 15.92 kB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2056, allocations: 0 / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-06/0.2056, allocations: 7.938 kB / 0.6732 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.2058, allocations: 0 / 0.6732 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.206, allocations: 80.94 kB / 0.6733 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.2062, allocations: 0.673 MB / 0.6739 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.443e-05/0.2063, allocations: 0 / 0.6739 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.834e-05/0.2063, allocations: 7.438 kB / 0.674 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2063, allocations: 0 / 0.674 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of Templates: time 0.002105/0.2084, allocations: 173 kB / 0.6741 GB, free: 14.05 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)