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.2039/0.2047, allocations: 82.22 MB / 0.5941 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001823/0.2065, allocations: 1.152 MB / 0.5952 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007886/0.2073, allocations: 467.8 kB / 0.5957 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.2074, allocations: 0 / 0.5957 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.2074, allocations: 3.984 kB / 0.5957 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.359e-05/0.2075, allocations: 7.922 kB / 0.5957 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.2077, allocations: 19.98 kB / 0.5957 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.812e-05/0.2078, allocations: 47.8 kB / 0.5957 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.2079, allocations: 4 kB / 0.5957 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.208, allocations: 23.86 kB / 0.5958 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.912e-05/0.208, allocations: 19.92 kB / 0.5958 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.2081, allocations: 4 kB / 0.5958 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.2081, allocations: 0 / 0.5958 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.2081, allocations: 11.97 kB / 0.5958 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.2082, allocations: 41.58 kB / 0.5958 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.2083, allocations: 44.09 kB / 0.5959 GB, free: 13.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2083, allocations: 0 / 0.5959 GB, free: 13.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2083, allocations: 0 / 0.5959 GB, free: 13.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.2083, allocations: 0 / 0.5959 GB, free: 13.23 MB / 462.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.000643/0.209, allocations: 385.1 kB / 0.5963 GB, free: 12.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.209, allocations: 12.02 kB / 0.5963 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.2091, allocations: 8.844 kB / 0.5963 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.2092, allocations: 176.2 kB / 0.5964 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2092, allocations: 384 / 0.5964 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.2092, allocations: 8.375 kB / 0.5965 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.2094, allocations: 57.98 kB / 0.5965 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2094, allocations: 0 / 0.5965 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2094, allocations: 0 / 0.5965 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.2094, allocations: 7.938 kB / 0.5965 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.274e-05/0.2095, allocations: 20 kB / 0.5965 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.2099, allocations: 268.8 kB / 0.5968 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.21, allocations: 42.52 kB / 0.5968 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.2101, allocations: 28.97 kB / 0.5969 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2101, allocations: 0 / 0.5969 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.2103, allocations: 101.1 kB / 0.597 GB, free: 11.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2103, allocations: 0 / 0.597 GB, free: 11.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002804/0.2106, allocations: 147.2 kB / 0.5971 GB, free: 11.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.2107, allocations: 85.09 kB / 0.5972 GB, free: 11.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.2108, allocations: 109.8 kB / 0.5973 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2108, allocations: 29.7 kB / 0.5973 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.2109, allocations: 88.14 kB / 0.5974 GB, free: 11.46 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.2109, allocations: 19.75 kB / 0.5974 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.2109, allocations: 17.72 kB / 0.5974 GB, free: 11.42 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.211, allocations: 318.8 kB / 0.5977 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.468e-05/0.2111, allocations: 19.98 kB / 0.5978 GB, free: 11.08 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-05/0.2111, allocations: 34.52 kB / 0.5978 GB, free: 11.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.2112, allocations: 114 kB / 0.5979 GB, free: 10.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2113, allocations: 0 / 0.5979 GB, free: 10.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001625/0.2114, allocations: 131.2 kB / 0.598 GB, free: 10.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.2115, allocations: 33.69 kB / 0.598 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2115, allocations: 0 / 0.598 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2115, allocations: 4 kB / 0.5981 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.55e-05/0.2116, allocations: 3.938 kB / 0.5981 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2116, allocations: 8.453 kB / 0.5981 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.2116, allocations: 4 kB / 0.5981 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.2117, allocations: 11.98 kB / 0.5981 GB, free: 10.7 MB / 462.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 0.0001289/0.2118, allocations: 149.2 kB / 0.5982 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.2118, allocations: 7.906 kB / 0.5982 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.2118, allocations: 4.375 kB / 0.5982 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2119, allocations: 4 kB / 0.5982 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2119, allocations: 0 / 0.5982 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.2119, allocations: 11.92 kB / 0.5982 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.2123, allocations: 396.2 kB / 0.5986 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2123, allocations: 0 / 0.5986 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.2124, allocations: 4 kB / 0.5986 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2124, allocations: 3.938 kB / 0.5986 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2124, allocations: 4 kB / 0.5986 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2124, allocations: 0 / 0.5986 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2124, allocations: 464 / 0.5986 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.2127, allocations: 245 kB / 0.5989 GB, free: 9.789 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.2127, allocations: 81.02 kB / 0.599 GB, free: 9.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.2127, allocations: 11.98 kB / 0.599 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2128, allocations: 8 kB / 0.599 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.2129, allocations: 15.86 kB / 0.599 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.2129, allocations: 0 / 0.599 GB, free: 9.656 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.925e-05/0.213, allocations: 91.27 kB / 0.5991 GB, free: 9.566 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.213, allocations: 4 kB / 0.5991 GB, free: 9.562 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.2132, allocations: 16 kB / 0.5991 GB, free: 9.547 MB / 462.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.0001174/0.2134, allocations: 103.3 kB / 0.5992 GB, free: 9.434 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.2135, allocations: 115.3 kB / 0.5993 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2136, allocations: 4 kB / 0.5993 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.727e-05/0.2136, allocations: 87.39 kB / 0.5994 GB, free: 9.207 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.214, allocations: 16.75 kB / 0.5994 GB, free: 9.191 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.2144, allocations: 164.6 kB / 0.5996 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.2148, allocations: 0.6913 MB / 0.6002 GB, free: 8.289 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.2148, allocations: 11.77 kB / 0.6002 GB, free: 8.277 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.2149, allocations: 7.438 kB / 0.6003 GB, free: 8.27 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2149, allocations: 15.88 kB / 0.6003 GB, free: 8.254 MB / 462.1 MB Notification: Performance of Templates: time 0.003105/0.218, allocations: 0.7603 MB / 0.601 GB, free: 7.504 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: