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.1934/0.194, allocations: 82.22 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001903/0.196, allocations: 1.172 MB / 0.5945 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007809/0.1968, allocations: 457.1 kB / 0.5949 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.1968, allocations: 0 / 0.5949 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.1969, allocations: 3.938 kB / 0.5949 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.197, allocations: 11.97 kB / 0.5949 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.1971, allocations: 11.98 kB / 0.595 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.374e-05/0.1972, allocations: 35.89 kB / 0.595 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1973, allocations: 8 kB / 0.595 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.616e-05/0.1974, allocations: 19.92 kB / 0.595 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.1975, allocations: 15.92 kB / 0.595 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1975, allocations: 8 kB / 0.595 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.1975, allocations: 0 / 0.595 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.1975, allocations: 11.98 kB / 0.5951 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.1976, allocations: 29.7 kB / 0.5951 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.124e-05/0.1977, allocations: 36.16 kB / 0.5951 GB, free: 4.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1977, allocations: 7.875 kB / 0.5951 GB, free: 4.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1977, allocations: 0 / 0.5951 GB, free: 4.148 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1977, allocations: 0 / 0.5951 GB, free: 4.148 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.0005399/0.1983, allocations: 366.3 kB / 0.5955 GB, free: 3.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1983, allocations: 8.031 kB / 0.5955 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1983, allocations: 7.906 kB / 0.5955 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.1985, allocations: 159.1 kB / 0.5956 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1985, allocations: 8 kB / 0.5957 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.1986, allocations: 7.953 kB / 0.5957 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1987, allocations: 53.67 kB / 0.5957 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1987, allocations: 0 / 0.5957 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1987, allocations: 3.938 kB / 0.5957 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1987, allocations: 8 kB / 0.5957 GB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.1988, allocations: 23.98 kB / 0.5957 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.1993, allocations: 296.7 kB / 0.596 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.1994, allocations: 66.58 kB / 0.5961 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.1994, allocations: 32 / 0.5961 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.1996, allocations: 75.56 kB / 0.5962 GB, free: 2.926 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.1996, allocations: 0 / 0.5962 GB, free: 2.926 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002187/0.1999, allocations: 93.61 kB / 0.5963 GB, free: 2.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.1999, allocations: 59.41 kB / 0.5963 GB, free: 2.758 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.2, allocations: 109.7 kB / 0.5964 GB, free: 2.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2, allocations: 34.08 kB / 0.5964 GB, free: 2.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.2001, allocations: 88.12 kB / 0.5965 GB, free: 2.512 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.2001, allocations: 23.66 kB / 0.5966 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.2001, allocations: 0 / 0.5966 GB, free: 2.488 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2003, allocations: 330.7 kB / 0.5969 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.2003, allocations: 12 kB / 0.5969 GB, free: 2.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.116e-05/0.2004, allocations: 43.42 kB / 0.5969 GB, free: 2.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.853e-05/0.2004, allocations: 31.92 kB / 0.597 GB, free: 2.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2004, allocations: 0 / 0.597 GB, free: 2.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001282/0.2006, allocations: 89.56 kB / 0.597 GB, free: 1.965 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2006, allocations: 4 kB / 0.597 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2006, allocations: 4 kB / 0.597 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2006, allocations: 0 / 0.597 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.2007, allocations: 11.98 kB / 0.5971 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.2007, allocations: 0 / 0.5971 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.2008, allocations: 19.94 kB / 0.5971 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.2008, allocations: 4 kB / 0.5971 GB, free: 1.922 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.2009, allocations: 126.3 kB / 0.5972 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.2009, allocations: 4 kB / 0.5972 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.201, allocations: 7.969 kB / 0.5972 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.201, allocations: 0 / 0.5972 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.201, allocations: 0 / 0.5972 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.201, allocations: 0 / 0.5972 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.2014, allocations: 374.3 kB / 0.5976 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2014, allocations: 0 / 0.5976 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.2015, allocations: 7.984 kB / 0.5976 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2015, allocations: 0 / 0.5976 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2015, allocations: 4 kB / 0.5976 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2015, allocations: 0 / 0.5976 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2015, allocations: 0 / 0.5976 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.2017, allocations: 183.4 kB / 0.5978 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.2017, allocations: 89.3 kB / 0.5978 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.2017, allocations: 192 / 0.5978 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.2018, allocations: 7.984 kB / 0.5978 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.2019, allocations: 15.91 kB / 0.5979 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.2019, allocations: 8.062 kB / 0.5979 GB, free: 1.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.341e-05/0.2019, allocations: 83.28 kB / 0.5979 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.202, allocations: 4 kB / 0.598 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.2022, allocations: 16 kB / 0.598 GB, free: 0.9102 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001103/0.2023, allocations: 101.4 kB / 0.5981 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.2024, allocations: 55.91 kB / 0.5981 GB, free: 0.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2024, allocations: 0 / 0.5981 GB, free: 0.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.934e-05/0.2025, allocations: 23.94 kB / 0.5981 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.2027, allocations: 23.88 kB / 0.5982 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.2031, allocations: 168.7 kB / 0.5983 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.2034, allocations: 0.6887 MB / 0.599 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.312e-05/0.2035, allocations: 11.94 kB / 0.599 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.2035, allocations: 11.44 kB / 0.599 GB, free: 15.78 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2035, allocations: 0 / 0.599 GB, free: 15.78 MB / 462.1 MB Notification: Performance of Templates: time 0.00298/0.2065, allocations: 0.6529 MB / 0.5997 GB, free: 15.13 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: