Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") [/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.1892/0.192, allocations: 80.82 MB / 0.5897 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002724/0.1948, allocations: 1.495 MB / 0.5911 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007831/0.1956, allocations: 476.5 kB / 0.5916 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.1956, allocations: 0 / 0.5916 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.1956, allocations: 0 / 0.5916 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/0.1957, allocations: 15.92 kB / 0.5916 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.1959, allocations: 15.98 kB / 0.5916 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.042e-05/0.196, allocations: 43.86 kB / 0.5916 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.1961, allocations: 11.98 kB / 0.5917 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.541e-05/0.1961, allocations: 11.88 kB / 0.5917 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.1962, allocations: 23.91 kB / 0.5917 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1962, allocations: 4 kB / 0.5917 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.1962, allocations: 4 kB / 0.5917 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.1963, allocations: 11.92 kB / 0.5917 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.1963, allocations: 15.94 kB / 0.5917 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1964, allocations: 40.11 kB / 0.5918 GB, free: 4.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1964, allocations: 3.938 kB / 0.5918 GB, free: 4.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1965, allocations: 0 / 0.5918 GB, free: 4.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.1965, allocations: 0 / 0.5918 GB, free: 4.961 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006055/0.1971, allocations: 405 kB / 0.5922 GB, free: 4.512 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1971, allocations: 8.031 kB / 0.5922 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.1972, allocations: 4.938 kB / 0.5922 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1973, allocations: 168.3 kB / 0.5923 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1973, allocations: 8.312 kB / 0.5923 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.1973, allocations: 8.359 kB / 0.5923 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1974, allocations: 53.98 kB / 0.5924 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1974, allocations: 0 / 0.5924 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1975, allocations: 4 kB / 0.5924 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1975, allocations: 4 kB / 0.5924 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.681e-05/0.1975, allocations: 19.98 kB / 0.5924 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.1979, allocations: 264.8 kB / 0.5927 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.724e-05/0.198, allocations: 42.52 kB / 0.5927 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.198, allocations: 20.97 kB / 0.5927 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1981, allocations: 4 kB / 0.5927 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.1982, allocations: 101.1 kB / 0.5928 GB, free: 3.691 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1982, allocations: 0 / 0.5928 GB, free: 3.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002556/0.1985, allocations: 147.2 kB / 0.593 GB, free: 3.535 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.1986, allocations: 85.09 kB / 0.5931 GB, free: 3.434 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.1986, allocations: 109.8 kB / 0.5932 GB, free: 3.316 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1987, allocations: 29.7 kB / 0.5932 GB, free: 3.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.1987, allocations: 84.14 kB / 0.5933 GB, free: 3.195 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1988, allocations: 27.66 kB / 0.5933 GB, free: 3.168 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.1988, allocations: 25.7 kB / 0.5933 GB, free: 3.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1989, allocations: 318.8 kB / 0.5936 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.199, allocations: 19.98 kB / 0.5936 GB, free: 2.797 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/0.199, allocations: 38.5 kB / 0.5937 GB, free: 2.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.1991, allocations: 110 kB / 0.5938 GB, free: 2.621 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1991, allocations: 0 / 0.5938 GB, free: 2.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001485/0.1993, allocations: 123.3 kB / 0.5939 GB, free: 2.488 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.1993, allocations: 39.5 kB / 0.5939 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1994, allocations: 4 kB / 0.5939 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1994, allocations: 0 / 0.5939 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.021e-05/0.1994, allocations: 7.938 kB / 0.594 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1994, allocations: 64 / 0.594 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.1995, allocations: 19.89 kB / 0.594 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1995, allocations: 8.062 kB / 0.594 GB, free: 2.406 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.32e-05/0.1996, allocations: 148.4 kB / 0.5941 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.1996, allocations: 4 kB / 0.5941 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.1997, allocations: 12.36 kB / 0.5941 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1997, allocations: 4 kB / 0.5941 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1997, allocations: 0 / 0.5941 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1997, allocations: 0 / 0.5941 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.2, allocations: 400.1 kB / 0.5945 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2001, allocations: 4 kB / 0.5945 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-06/0.2001, allocations: 384 / 0.5945 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2001, allocations: 3.938 kB / 0.5945 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2001, allocations: 7.984 kB / 0.5945 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2001, allocations: 0 / 0.5945 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2001, allocations: 3.938 kB / 0.5945 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.2003, allocations: 237.2 kB / 0.5948 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.2004, allocations: 81.02 kB / 0.5948 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.2004, allocations: 8 kB / 0.5949 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2005, allocations: 7.984 kB / 0.5949 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.2006, allocations: 11.88 kB / 0.5949 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.2006, allocations: 11.98 kB / 0.5949 GB, free: 1.363 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.847e-05/0.2007, allocations: 87.81 kB / 0.595 GB, free: 1.277 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2007, allocations: 0 / 0.595 GB, free: 1.277 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.2009, allocations: 16 kB / 0.595 GB, free: 1.262 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001056/0.201, allocations: 103.2 kB / 0.5951 GB, free: 1.148 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.2012, allocations: 119.3 kB / 0.5952 GB, free: 1.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2012, allocations: 0 / 0.5952 GB, free: 1.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.2013, allocations: 87.39 kB / 0.5953 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.2015, allocations: 15.98 kB / 0.5953 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.2019, allocations: 170.2 kB / 0.5955 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.2022, allocations: 0.6809 MB / 0.5961 GB, free: 12 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.613e-05/0.2023, allocations: 4 kB / 0.5961 GB, free: 8 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.2023, allocations: 11.44 kB / 0.5961 GB, free: 0 / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.2023, allocations: 112 / 0.5961 GB, free: 16 MB / 462.1 MB Notification: Performance of Templates: time 0.002775/0.2051, allocations: 0.7832 MB / 0.5969 GB, free: 15.22 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)