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.4177/0.4198, allocations: 80.81 MB / 0.5904 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002538/0.4224, allocations: 1.412 MB / 0.5918 GB, free: 21.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006842/0.4231, allocations: 476.8 kB / 0.5922 GB, free: 20.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.4231, allocations: 0 / 0.5922 GB, free: 20.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.4232, allocations: 3.938 kB / 0.5922 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.229e-05/0.4233, allocations: 15.16 kB / 0.5922 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.4234, allocations: 24.14 kB / 0.5923 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.4235, allocations: 49.58 kB / 0.5923 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.4236, allocations: 16.94 kB / 0.5923 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.4237, allocations: 22.95 kB / 0.5924 GB, free: 20.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.4238, allocations: 19.36 kB / 0.5924 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.4238, allocations: 4.062 kB / 0.5924 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.4238, allocations: 4.312 kB / 0.5924 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.4239, allocations: 13.08 kB / 0.5924 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.4239, allocations: 22.7 kB / 0.5924 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.424, allocations: 41.77 kB / 0.5925 GB, free: 20.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.424, allocations: 1.062 kB / 0.5925 GB, free: 20.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.424, allocations: 0 / 0.5925 GB, free: 20.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.4241, allocations: 1.312 kB / 0.5925 GB, free: 20.58 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.0005343/0.4246, allocations: 401.7 kB / 0.5928 GB, free: 20.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.4246, allocations: 9.625 kB / 0.5929 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.4247, allocations: 4.719 kB / 0.5929 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.16e-05/0.4248, allocations: 170.9 kB / 0.593 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4248, allocations: 1.719 kB / 0.593 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.4248, allocations: 5.062 kB / 0.593 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.4249, allocations: 61.36 kB / 0.5931 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4249, allocations: 5.656 kB / 0.5931 GB, free: 19.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.425, allocations: 1.469 kB / 0.5931 GB, free: 19.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.425, allocations: 0 / 0.5931 GB, free: 19.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.959e-05/0.425, allocations: 17.73 kB / 0.5931 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.4254, allocations: 275.5 kB / 0.5934 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.969e-05/0.4255, allocations: 45.44 kB / 0.5934 GB, free: 19.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.4255, allocations: 23.83 kB / 0.5934 GB, free: 19.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.4255, allocations: 7.938 kB / 0.5934 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.4256, allocations: 101.1 kB / 0.5935 GB, free: 19.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.4257, allocations: 0 / 0.5935 GB, free: 19.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002391/0.4259, allocations: 143.2 kB / 0.5937 GB, free: 19.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.4259, allocations: 85.08 kB / 0.5938 GB, free: 19.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.849e-05/0.426, allocations: 109.8 kB / 0.5939 GB, free: 19.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.426, allocations: 29.7 kB / 0.5939 GB, free: 18.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.4261, allocations: 84.14 kB / 0.594 GB, free: 18.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.4261, allocations: 15.8 kB / 0.594 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.4261, allocations: 29.7 kB / 0.594 GB, free: 18.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.4262, allocations: 318.8 kB / 0.5943 GB, free: 18.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.4262, allocations: 20.27 kB / 0.5943 GB, free: 18.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.553e-05/0.4263, allocations: 49.19 kB / 0.5944 GB, free: 18.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.835e-05/0.4263, allocations: 106 kB / 0.5945 GB, free: 18.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4263, allocations: 4 kB / 0.5945 GB, free: 18.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001137/0.4265, allocations: 123.2 kB / 0.5946 GB, free: 18.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4265, allocations: 37.77 kB / 0.5946 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4265, allocations: 0 / 0.5946 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4265, allocations: 0 / 0.5946 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.708e-05/0.4266, allocations: 7.938 kB / 0.5947 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4266, allocations: 0 / 0.5947 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.4266, allocations: 11.98 kB / 0.5947 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4267, allocations: 4 kB / 0.5947 GB, free: 18.14 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 6.939e-05/0.4267, allocations: 148.4 kB / 0.5948 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.4268, allocations: 15.89 kB / 0.5948 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.4268, allocations: 8.375 kB / 0.5948 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.4268, allocations: 4 kB / 0.5948 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4268, allocations: 0 / 0.5948 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4268, allocations: 0 / 0.5948 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.4271, allocations: 408.1 kB / 0.5952 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4271, allocations: 0 / 0.5952 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-06/0.4271, allocations: 0 / 0.5952 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4271, allocations: 0 / 0.5952 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.4271, allocations: 7.938 kB / 0.5952 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4271, allocations: 7.984 kB / 0.5952 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4271, allocations: 0 / 0.5952 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.4273, allocations: 233 kB / 0.5955 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.4273, allocations: 81.02 kB / 0.5955 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.4274, allocations: 12.06 kB / 0.5955 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.4275, allocations: 7.984 kB / 0.5956 GB, free: 17.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.4275, allocations: 7.938 kB / 0.5956 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.4275, allocations: 11.98 kB / 0.5956 GB, free: 17.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.01e-05/0.4276, allocations: 83.92 kB / 0.5957 GB, free: 17.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4276, allocations: 7.938 kB / 0.5957 GB, free: 17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.4278, allocations: 16 kB / 0.5957 GB, free: 16.98 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 7.69e-05/0.4279, allocations: 99.19 kB / 0.5958 GB, free: 16.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.428, allocations: 119.3 kB / 0.5959 GB, free: 16.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.428, allocations: 0 / 0.5959 GB, free: 16.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.116e-05/0.4281, allocations: 95.75 kB / 0.596 GB, free: 16.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.4284, allocations: 14.02 kB / 0.596 GB, free: 16.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.4287, allocations: 153.4 kB / 0.5961 GB, free: 16.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.4289, allocations: 0.689 MB / 0.5968 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.754e-05/0.4289, allocations: 11.78 kB / 0.5968 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.4289, allocations: 11.42 kB / 0.5968 GB, free: 15.71 MB / 446.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4289, allocations: 4 kB / 0.5968 GB, free: 15.71 MB / 446.1 MB Notification: Performance of Templates: time 0.002891/0.4318, allocations: 0.8558 MB / 0.5977 GB, free: 14.86 MB / 446.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)