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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7686/0.7686, allocations: 132.3 MB / 144.9 MB, free: 10.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001131/0.001131, allocations: 173.9 kB / 176.9 MB, free: 2.293 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.263/1.263, allocations: 170.5 MB / 379.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001612/0.001612, allocations: 114.5 kB / 450 MB, free: 5.836 MB / 346.7 MB [/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.4728/0.4729, allocations: 73.39 MB / 0.6736 GB, free: 47.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.6077, allocations: 102.2 MB / 0.7734 GB, free: 14.53 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.608, allocations: 72.14 kB / 0.7735 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003298/0.6113, allocations: 1.151 MB / 0.7746 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.6114, allocations: 0 / 0.7746 GB, free: 13.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.6114, allocations: 0 / 0.7746 GB, free: 13.33 MB / 490.7 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.0004175/0.6118, allocations: 387.1 kB / 0.7749 GB, free: 12.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6119, allocations: 8.031 kB / 0.775 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.6119, allocations: 7.906 kB / 0.775 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.612, allocations: 165.8 kB / 0.7751 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.6121, allocations: 4.656 kB / 0.7751 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.6121, allocations: 4 kB / 0.7751 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.6122, allocations: 59.94 kB / 0.7752 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.6122, allocations: 0 / 0.7752 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.6122, allocations: 3.609 kB / 0.7752 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.6122, allocations: 5.672 kB / 0.7752 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.238e-05/0.6123, allocations: 19.98 kB / 0.7752 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.6127, allocations: 268.9 kB / 0.7755 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/0.6128, allocations: 42.58 kB / 0.7755 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.6128, allocations: 20.94 kB / 0.7755 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.6129, allocations: 3.938 kB / 0.7755 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.613, allocations: 103.5 kB / 0.7756 GB, free: 12.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.613, allocations: 0 / 0.7756 GB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002308/0.6133, allocations: 123.3 kB / 0.7758 GB, free: 11.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.6133, allocations: 77.11 kB / 0.7758 GB, free: 11.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.6134, allocations: 110.5 kB / 0.7759 GB, free: 11.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.6135, allocations: 29.7 kB / 0.776 GB, free: 11.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.6135, allocations: 84.12 kB / 0.776 GB, free: 11.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.6136, allocations: 19.8 kB / 0.7761 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-06/0.6136, allocations: 4 kB / 0.7761 GB, free: 11.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6137, allocations: 318.8 kB / 0.7764 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.6137, allocations: 12 kB / 0.7764 GB, free: 11.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.591e-05/0.6138, allocations: 35.67 kB / 0.7764 GB, free: 11.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.6138, allocations: 49.69 kB / 0.7765 GB, free: 11.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6138, allocations: 0 / 0.7765 GB, free: 11.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001492/0.614, allocations: 123.3 kB / 0.7766 GB, free: 11.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.614, allocations: 29.7 kB / 0.7766 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.614, allocations: 4 kB / 0.7766 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.614, allocations: 0 / 0.7766 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.498e-05/0.6141, allocations: 11.92 kB / 0.7766 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.6141, allocations: 8.109 kB / 0.7766 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.6142, allocations: 15.91 kB / 0.7766 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.6142, allocations: 4 kB / 0.7766 GB, free: 10.97 MB / 490.7 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.pulsStart,booleanPulse.pulsStart) * Number of discrete 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 9.44e-05/0.6143, allocations: 139.2 kB / 0.7768 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.6143, allocations: 7.953 kB / 0.7768 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.6144, allocations: 8.625 kB / 0.7768 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6144, allocations: 4 kB / 0.7768 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.6144, allocations: 0 / 0.7768 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6144, allocations: 9.203 kB / 0.7768 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.6148, allocations: 398.5 kB / 0.7772 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6148, allocations: 0 / 0.7772 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.067e-05/0.6148, allocations: 3.984 kB / 0.7772 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.6148, allocations: 7.938 kB / 0.7772 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6148, allocations: 0 / 0.7772 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6148, allocations: 0 / 0.7772 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6148, allocations: 0 / 0.7772 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.615, allocations: 233.1 kB / 0.7774 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.6151, allocations: 88.97 kB / 0.7775 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.6151, allocations: 0 / 0.7775 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.6152, allocations: 11.98 kB / 0.7775 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.6152, allocations: 15.92 kB / 0.7775 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.6153, allocations: 4 kB / 0.7775 GB, free: 9.945 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.6153, allocations: 89.5 kB / 0.7776 GB, free: 9.859 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6153, allocations: 4 kB / 0.7776 GB, free: 9.855 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.6155, allocations: 12 kB / 0.7776 GB, free: 9.844 MB / 490.7 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.pulsStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * 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.659e-05/0.6156, allocations: 99.23 kB / 0.7777 GB, free: 9.738 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.6158, allocations: 115.3 kB / 0.7778 GB, free: 9.613 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6158, allocations: 0 / 0.7778 GB, free: 9.613 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.6159, allocations: 88.89 kB / 0.7779 GB, free: 9.516 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.6161, allocations: 15.44 kB / 0.7779 GB, free: 9.504 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.6163, allocations: 106.1 kB / 0.778 GB, free: 9.383 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.6166, allocations: 0.6887 MB / 0.7787 GB, free: 8.668 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.909e-05/0.6166, allocations: 7.984 kB / 0.7787 GB, free: 8.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.6166, allocations: 7.438 kB / 0.7787 GB, free: 8.652 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6167, allocations: 3.938 kB / 0.7787 GB, free: 8.648 MB / 490.7 MB Notification: Performance of Templates: time 0.002583/0.6192, allocations: 0.7465 MB / 0.7795 GB, free: 7.938 MB / 490.7 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)