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.2074/0.2097, allocations: 80.83 MB / 0.5899 GB, free: 7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002757/0.2125, allocations: 1.49 MB / 0.5913 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007593/0.2133, allocations: 472.5 kB / 0.5918 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.2133, allocations: 4 kB / 0.5918 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.2134, allocations: 0 / 0.5918 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.673e-05/0.2135, allocations: 11.92 kB / 0.5918 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.2136, allocations: 16 kB / 0.5918 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.2137, allocations: 51.78 kB / 0.5918 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.2138, allocations: 8 kB / 0.5919 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.008e-05/0.2139, allocations: 27.84 kB / 0.5919 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.214, allocations: 15.92 kB / 0.5919 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.214, allocations: 8 kB / 0.5919 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.214, allocations: 4 kB / 0.5919 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.2141, allocations: 8 kB / 0.5919 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.2141, allocations: 19.86 kB / 0.5919 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.2142, allocations: 44.09 kB / 0.592 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2142, allocations: 0 / 0.592 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.2142, allocations: 0 / 0.592 GB, free: 4.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.2143, allocations: 0 / 0.592 GB, free: 4.805 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.0006226/0.2149, allocations: 401 kB / 0.5924 GB, free: 4.359 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2149, allocations: 8.031 kB / 0.5924 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.215, allocations: 8.875 kB / 0.5924 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2151, allocations: 176.3 kB / 0.5925 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.2151, allocations: 384 / 0.5925 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2152, allocations: 4.375 kB / 0.5925 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.2153, allocations: 54 kB / 0.5926 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2153, allocations: 3.938 kB / 0.5926 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2154, allocations: 0 / 0.5926 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2154, allocations: 0 / 0.5926 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.857e-05/0.2154, allocations: 23.98 kB / 0.5926 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.2159, allocations: 276.7 kB / 0.5929 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.216, allocations: 38.56 kB / 0.5929 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/0.216, allocations: 20.98 kB / 0.5929 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2161, allocations: 0 / 0.5929 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.2162, allocations: 113.1 kB / 0.5931 GB, free: 3.523 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2163, allocations: 0 / 0.5931 GB, free: 3.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002776/0.2165, allocations: 143.3 kB / 0.5932 GB, free: 3.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.2166, allocations: 77.11 kB / 0.5933 GB, free: 3.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.2167, allocations: 117.8 kB / 0.5934 GB, free: 3.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.2167, allocations: 29.7 kB / 0.5934 GB, free: 3.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.2168, allocations: 80.14 kB / 0.5935 GB, free: 3.035 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.2168, allocations: 31.62 kB / 0.5935 GB, free: 3.004 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.2168, allocations: 29.72 kB / 0.5935 GB, free: 2.969 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.217, allocations: 322.8 kB / 0.5938 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.217, allocations: 12 kB / 0.5939 GB, free: 2.633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.798e-05/0.217, allocations: 38.56 kB / 0.5939 GB, free: 2.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.783e-05/0.2172, allocations: 117.9 kB / 0.594 GB, free: 2.449 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2172, allocations: 0 / 0.594 GB, free: 2.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001403/0.2173, allocations: 123.3 kB / 0.5941 GB, free: 2.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.2173, allocations: 35.73 kB / 0.5942 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2174, allocations: 0 / 0.5942 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2174, allocations: 0 / 0.5942 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.568e-05/0.2174, allocations: 7.984 kB / 0.5942 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.2174, allocations: 0 / 0.5942 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/0.2175, allocations: 11.91 kB / 0.5942 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.2175, allocations: 64 / 0.5942 GB, free: 2.258 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 0.0001061/0.2176, allocations: 164.3 kB / 0.5943 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.2177, allocations: 4 kB / 0.5943 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.2177, allocations: 8.375 kB / 0.5943 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2177, allocations: 4.312 kB / 0.5943 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2177, allocations: 0 / 0.5943 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2177, allocations: 0 / 0.5943 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.2181, allocations: 408 kB / 0.5947 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2181, allocations: 4 kB / 0.5947 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-06/0.2181, allocations: 3.984 kB / 0.5947 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2181, allocations: 0 / 0.5947 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2181, allocations: 8 kB / 0.5948 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2181, allocations: 0 / 0.5948 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2181, allocations: 0 / 0.5948 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.2184, allocations: 229.1 kB / 0.595 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.2184, allocations: 85.02 kB / 0.5951 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.2184, allocations: 0 / 0.5951 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.2185, allocations: 15.98 kB / 0.5951 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.2186, allocations: 11.92 kB / 0.5951 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.2186, allocations: 4 kB / 0.5951 GB, free: 1.211 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.2187, allocations: 87.28 kB / 0.5952 GB, free: 1.125 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2187, allocations: 0 / 0.5952 GB, free: 1.125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.2189, allocations: 16 kB / 0.5952 GB, free: 1.109 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.0001181/0.219, allocations: 111 kB / 0.5953 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.2192, allocations: 123.3 kB / 0.5954 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2193, allocations: 0 / 0.5954 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.594e-05/0.2193, allocations: 87.33 kB / 0.5955 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.2196, allocations: 15.98 kB / 0.5955 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.22, allocations: 169.5 kB / 0.5957 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.2203, allocations: 0.6884 MB / 0.5963 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.914e-05/0.2203, allocations: 7.984 kB / 0.5963 GB, free: 15.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.2203, allocations: 11.38 kB / 0.5964 GB, free: 15.82 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2203, allocations: 0 / 0.5964 GB, free: 15.82 MB / 462.1 MB Notification: Performance of Templates: time 0.003074/0.2234, allocations: 0.8219 MB / 0.5972 GB, free: 15.01 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)