Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer") [/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.1933/0.1953, allocations: 80.84 MB / 0.5899 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00293/0.1982, allocations: 1.527 MB / 0.5914 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.1991, allocations: 480.5 kB / 0.5918 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.1992, allocations: 4 kB / 0.5918 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.1992, allocations: 7.922 kB / 0.5918 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/0.1993, allocations: 3.938 kB / 0.5918 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.1995, allocations: 27.91 kB / 0.5919 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.328e-05/0.1996, allocations: 39.92 kB / 0.5919 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1997, allocations: 11.98 kB / 0.5919 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.85e-05/0.1998, allocations: 23.92 kB / 0.5919 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.1999, allocations: 23.92 kB / 0.592 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1999, allocations: 4 kB / 0.592 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.1999, allocations: 7.938 kB / 0.592 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.1999, allocations: 15.91 kB / 0.592 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.2, allocations: 23.88 kB / 0.592 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2001, allocations: 40.11 kB / 0.592 GB, free: 4.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2001, allocations: 0 / 0.592 GB, free: 4.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.2001, allocations: 3.984 kB / 0.592 GB, free: 4.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2002, allocations: 0 / 0.592 GB, free: 4.754 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005796/0.2007, allocations: 359.4 kB / 0.5924 GB, free: 4.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.2008, allocations: 12.02 kB / 0.5924 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.2008, allocations: 12.78 kB / 0.5924 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.201, allocations: 164.4 kB / 0.5926 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.201, allocations: 4.375 kB / 0.5926 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.201, allocations: 4.375 kB / 0.5926 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.2011, allocations: 61.92 kB / 0.5926 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.2012, allocations: 0 / 0.5926 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2012, allocations: 8 kB / 0.5926 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2012, allocations: 4 kB / 0.5926 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.936e-05/0.2013, allocations: 19.98 kB / 0.5927 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.2018, allocations: 304.6 kB / 0.593 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.2019, allocations: 54.59 kB / 0.593 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.692e-05/0.202, allocations: 28.89 kB / 0.593 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.202, allocations: 4 kB / 0.593 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.2021, allocations: 71.42 kB / 0.5931 GB, free: 3.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.2022, allocations: 0 / 0.5931 GB, free: 3.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002343/0.2024, allocations: 101.8 kB / 0.5932 GB, free: 3.395 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.2025, allocations: 51.41 kB / 0.5933 GB, free: 3.332 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.2026, allocations: 109.9 kB / 0.5934 GB, free: 3.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2026, allocations: 29.64 kB / 0.5934 GB, free: 3.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.2027, allocations: 96.05 kB / 0.5935 GB, free: 3.082 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.2027, allocations: 23.73 kB / 0.5935 GB, free: 3.059 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.2027, allocations: 25.72 kB / 0.5935 GB, free: 3.027 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2029, allocations: 318.8 kB / 0.5938 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.2029, allocations: 16 kB / 0.5938 GB, free: 2.691 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.835e-05/0.203, allocations: 43.42 kB / 0.5939 GB, free: 2.637 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.49e-05/0.2031, allocations: 75.36 kB / 0.594 GB, free: 2.551 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2031, allocations: 0 / 0.594 GB, free: 2.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001322/0.2032, allocations: 97.52 kB / 0.5941 GB, free: 2.449 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2033, allocations: 7.938 kB / 0.5941 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2033, allocations: 7.938 kB / 0.5941 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2033, allocations: 0 / 0.5941 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2034, allocations: 8 kB / 0.5941 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2034, allocations: 7.984 kB / 0.5941 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.2035, allocations: 12.02 kB / 0.5941 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.2035, allocations: 8.062 kB / 0.5941 GB, free: 2.398 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.068e-05/0.2036, allocations: 126.3 kB / 0.5942 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.2036, allocations: 3.906 kB / 0.5942 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.2037, allocations: 11.97 kB / 0.5942 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2037, allocations: 0 / 0.5942 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2037, allocations: 0 / 0.5942 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2037, allocations: 3.984 kB / 0.5942 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.2041, allocations: 362.4 kB / 0.5946 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2041, allocations: 0 / 0.5946 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.2041, allocations: 4.281 kB / 0.5946 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2041, allocations: 4 kB / 0.5946 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.2041, allocations: 0 / 0.5946 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2042, allocations: 3.938 kB / 0.5946 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2042, allocations: 0 / 0.5946 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.2043, allocations: 195.4 kB / 0.5948 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.2044, allocations: 81.11 kB / 0.5949 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.2044, allocations: 0 / 0.5949 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.2045, allocations: 15.92 kB / 0.5949 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.2045, allocations: 7.984 kB / 0.5949 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2045, allocations: 0 / 0.5949 GB, free: 1.496 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.2046, allocations: 83.28 kB / 0.595 GB, free: 1.414 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2046, allocations: 0 / 0.595 GB, free: 1.414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.2048, allocations: 12 kB / 0.595 GB, free: 1.402 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.342e-05/0.2049, allocations: 111.2 kB / 0.5951 GB, free: 1.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.205, allocations: 55.92 kB / 0.5951 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2051, allocations: 0 / 0.5951 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.2051, allocations: 27.92 kB / 0.5952 GB, free: 1.203 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2054, allocations: 14.95 kB / 0.5952 GB, free: 1.191 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/0.2058, allocations: 173.4 kB / 0.5953 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.206, allocations: 0.6856 MB / 0.596 GB, free: 292 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.87e-05/0.2061, allocations: 7.938 kB / 0.596 GB, free: 284 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.2061, allocations: 19.38 kB / 0.596 GB, free: 268 kB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2061, allocations: 0 / 0.596 GB, free: 268 kB / 446.1 MB Notification: Performance of Templates: time 0.002766/0.2089, allocations: 0.72 MB / 0.5967 GB, free: 15.55 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)