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.2061, allocations: 80.83 MB / 0.6706 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003869/0.2101, allocations: 1.427 MB / 0.672 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2113, allocations: 471.8 kB / 0.6724 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.2114, allocations: 7.938 kB / 0.6724 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.225e-05/0.2115, allocations: 3.938 kB / 0.6724 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2117, allocations: 15.91 kB / 0.6725 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.2119, allocations: 19.92 kB / 0.6725 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.2121, allocations: 43.86 kB / 0.6725 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2123, allocations: 11.98 kB / 0.6725 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.2124, allocations: 23.86 kB / 0.6726 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2125, allocations: 23.91 kB / 0.6726 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.2125, allocations: 4 kB / 0.6726 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.2126, allocations: 0 / 0.6726 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.2126, allocations: 15.94 kB / 0.6726 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.2127, allocations: 15.92 kB / 0.6726 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.2129, allocations: 51.77 kB / 0.6727 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.2129, allocations: 3.984 kB / 0.6727 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2129, allocations: 4 kB / 0.6727 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.2129, allocations: 0 / 0.6727 GB, free: 15.73 MB / 0.5137 GB 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.0007958/0.2137, allocations: 381.1 kB / 0.673 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2138, allocations: 16.03 kB / 0.673 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.2138, allocations: 4.844 kB / 0.673 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.214, allocations: 168.4 kB / 0.6732 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.214, allocations: 8.312 kB / 0.6732 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.2141, allocations: 384 / 0.6732 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.2142, allocations: 61.98 kB / 0.6733 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2142, allocations: 0 / 0.6733 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2143, allocations: 0 / 0.6733 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.2143, allocations: 4 kB / 0.6733 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.395e-05/0.2143, allocations: 15.98 kB / 0.6733 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.2149, allocations: 276.8 kB / 0.6736 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.215, allocations: 46.5 kB / 0.6736 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.2151, allocations: 16.98 kB / 0.6736 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.2151, allocations: 0 / 0.6736 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.2153, allocations: 105.1 kB / 0.6737 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 3.216e-06/0.2154, allocations: 11.98 kB / 0.6737 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0003387/0.2157, allocations: 147.2 kB / 0.6739 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.2158, allocations: 77.11 kB / 0.6739 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.2159, allocations: 113.8 kB / 0.6741 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2159, allocations: 25.7 kB / 0.6741 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.216, allocations: 84.14 kB / 0.6742 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.216, allocations: 23.73 kB / 0.6742 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.2161, allocations: 29.7 kB / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2162, allocations: 318.8 kB / 0.6745 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.185e-05/0.2163, allocations: 19.98 kB / 0.6745 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.348e-05/0.2163, allocations: 38.5 kB / 0.6746 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.2164, allocations: 106 kB / 0.6747 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2165, allocations: 0 / 0.6747 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001766/0.2166, allocations: 139.2 kB / 0.6748 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.2167, allocations: 29.7 kB / 0.6748 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2167, allocations: 0 / 0.6748 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2167, allocations: 4 kB / 0.6748 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.132e-05/0.2168, allocations: 7.938 kB / 0.6748 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.2168, allocations: 0 / 0.6748 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.2169, allocations: 7.984 kB / 0.6749 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2169, allocations: 8 kB / 0.6749 GB, free: 13.19 MB / 0.5137 GB 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.0001109/0.217, allocations: 152.2 kB / 0.675 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.217, allocations: 11.89 kB / 0.675 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.2171, allocations: 4.375 kB / 0.675 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.2171, allocations: 0 / 0.675 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2171, allocations: 0 / 0.675 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2171, allocations: 0 / 0.675 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.2175, allocations: 404.1 kB / 0.6754 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2175, allocations: 0 / 0.6754 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.2175, allocations: 4 kB / 0.6754 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2175, allocations: 0 / 0.6754 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2175, allocations: 11.92 kB / 0.6754 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2175, allocations: 384 / 0.6754 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2176, allocations: 4 kB / 0.6754 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.2178, allocations: 229 kB / 0.6756 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.2178, allocations: 81.17 kB / 0.6757 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.2178, allocations: 8 kB / 0.6757 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.218, allocations: 11.98 kB / 0.6757 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.218, allocations: 11.94 kB / 0.6757 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.218, allocations: 7.922 kB / 0.6758 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.2181, allocations: 87.28 kB / 0.6758 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2181, allocations: 0 / 0.6758 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002384/0.2183, allocations: 19.94 kB / 0.6759 GB, free: 12.04 MB / 0.5137 GB 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.0001052/0.2185, allocations: 110.2 kB / 0.676 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.2186, allocations: 115.3 kB / 0.6761 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2187, allocations: 128 / 0.6761 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.2187, allocations: 91.33 kB / 0.6762 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.219, allocations: 16.92 kB / 0.6762 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.2194, allocations: 165.1 kB / 0.6763 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2197, allocations: 0.6846 MB / 0.677 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.773e-05/0.2197, allocations: 4 kB / 0.677 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.2198, allocations: 15.42 kB / 0.677 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.2198, allocations: 7.938 kB / 0.677 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of Templates: time 0.003501/0.2233, allocations: 0.9075 MB / 0.6779 GB, free: 9.855 MB / 0.5137 GB 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)