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.1869/0.1877, allocations: 82.21 MB / 0.5935 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001842/0.1896, allocations: 1.131 MB / 0.5946 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007202/0.1903, allocations: 452.9 kB / 0.595 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.1904, allocations: 3.938 kB / 0.595 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.1904, allocations: 0 / 0.595 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/0.1905, allocations: 11.92 kB / 0.595 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.1907, allocations: 11.98 kB / 0.595 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.1907, allocations: 47.84 kB / 0.5951 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.1908, allocations: 4 kB / 0.5951 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.1909, allocations: 23.86 kB / 0.5951 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.191, allocations: 19.92 kB / 0.5951 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.191, allocations: 4 kB / 0.5951 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.191, allocations: 0 / 0.5951 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.191, allocations: 4 kB / 0.5951 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.1911, allocations: 37.64 kB / 0.5952 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.648e-05/0.1912, allocations: 28.16 kB / 0.5952 GB, free: 4.234 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1912, allocations: 0 / 0.5952 GB, free: 4.234 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1912, allocations: 4 kB / 0.5952 GB, free: 4.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1912, allocations: 0 / 0.5952 GB, free: 4.23 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.0005327/0.1917, allocations: 392.9 kB / 0.5956 GB, free: 3.793 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1918, allocations: 8.031 kB / 0.5956 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.1918, allocations: 11.89 kB / 0.5956 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.192, allocations: 163.1 kB / 0.5957 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.192, allocations: 4 kB / 0.5957 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.192, allocations: 7.953 kB / 0.5957 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1921, allocations: 49.67 kB / 0.5958 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1922, allocations: 8 kB / 0.5958 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1922, allocations: 7.875 kB / 0.5958 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1922, allocations: 0 / 0.5958 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.865e-05/0.1923, allocations: 12 kB / 0.5958 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.1927, allocations: 280.8 kB / 0.5961 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.891e-05/0.1929, allocations: 34.58 kB / 0.5961 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.1929, allocations: 24.97 kB / 0.5961 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1929, allocations: 0 / 0.5961 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.1932, allocations: 109.1 kB / 0.5962 GB, free: 2.961 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1932, allocations: 3.938 kB / 0.5962 GB, free: 2.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002969/0.1935, allocations: 139.2 kB / 0.5964 GB, free: 2.809 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.1936, allocations: 81.11 kB / 0.5965 GB, free: 2.711 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.1937, allocations: 109.8 kB / 0.5966 GB, free: 2.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1937, allocations: 29.7 kB / 0.5966 GB, free: 2.559 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.1938, allocations: 92.12 kB / 0.5967 GB, free: 2.465 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.1938, allocations: 15.75 kB / 0.5967 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.1938, allocations: 4 kB / 0.5967 GB, free: 2.445 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.194, allocations: 318.8 kB / 0.597 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.194, allocations: 16 kB / 0.597 GB, free: 2.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.089e-05/0.1941, allocations: 41.61 kB / 0.5971 GB, free: 2.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.85e-05/0.1941, allocations: 53.69 kB / 0.5971 GB, free: 2.004 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1942, allocations: 0 / 0.5971 GB, free: 2.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001632/0.1943, allocations: 127.2 kB / 0.5972 GB, free: 1.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.1944, allocations: 37.69 kB / 0.5973 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1944, allocations: 0 / 0.5973 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1944, allocations: 4 kB / 0.5973 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.176e-05/0.1945, allocations: 64 / 0.5973 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1945, allocations: 8 kB / 0.5973 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.1945, allocations: 12.05 kB / 0.5973 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1946, allocations: 4 kB / 0.5973 GB, free: 1.797 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.1947, allocations: 152.8 kB / 0.5974 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.1947, allocations: 7.906 kB / 0.5974 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.1947, allocations: 8.359 kB / 0.5975 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1947, allocations: 4 kB / 0.5975 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1948, allocations: 3.938 kB / 0.5975 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1948, allocations: 0 / 0.5975 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.1952, allocations: 404.2 kB / 0.5978 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1952, allocations: 0 / 0.5978 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.1952, allocations: 7.938 kB / 0.5979 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1952, allocations: 0 / 0.5979 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1952, allocations: 4 kB / 0.5979 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1952, allocations: 0 / 0.5979 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1952, allocations: 3.938 kB / 0.5979 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.1954, allocations: 229.1 kB / 0.5981 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.1955, allocations: 85.09 kB / 0.5982 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.1955, allocations: 11.94 kB / 0.5982 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.1956, allocations: 11.98 kB / 0.5982 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.1956, allocations: 0 / 0.5982 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1957, allocations: 4 kB / 0.5982 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.575e-05/0.1957, allocations: 91.27 kB / 0.5983 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1957, allocations: 0 / 0.5983 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.196, allocations: 12 kB / 0.5983 GB, free: 0.6602 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 (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 9.32e-05/0.1961, allocations: 107.2 kB / 0.5984 GB, free: 0.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.1962, allocations: 115.3 kB / 0.5985 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1962, allocations: 0 / 0.5985 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.1963, allocations: 92.17 kB / 0.5986 GB, free: 324 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.1966, allocations: 21.98 kB / 0.5986 GB, free: 304 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.197, allocations: 168.6 kB / 0.5988 GB, free: 108 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1974, allocations: 0.6926 MB / 0.5994 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.838e-05/0.1974, allocations: 4 kB / 0.5994 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.1974, allocations: 15.38 kB / 0.5995 GB, free: 15.37 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1974, allocations: 0 / 0.5995 GB, free: 15.37 MB / 462.1 MB Notification: Performance of Templates: time 0.002951/0.2004, allocations: 0.7441 MB / 0.6002 GB, free: 14.64 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: