Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 189.4 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.56/1.56, allocations: 292.3 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 72.16 kB / 0.6711 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1754, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002278/0.1777, allocations: 1.487 MB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006279/0.1783, allocations: 472.9 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.1784, allocations: 0 / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.1784, allocations: 0 / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.709e-05/0.1785, allocations: 15.91 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.1786, allocations: 11.98 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.257e-05/0.1787, allocations: 55.8 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.1788, allocations: 8 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.1789, allocations: 27.91 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.035e-05/0.1789, allocations: 19.86 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1789, allocations: 4 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.179, allocations: 4 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.179, allocations: 7.984 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.179, allocations: 19.88 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.11e-05/0.1791, allocations: 44.09 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1791, allocations: 0 / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1791, allocations: 4 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.1791, allocations: 0 / 0.7851 GB, free: 11.62 MB / 0.6075 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.0004735/0.1796, allocations: 397 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1796, allocations: 8.031 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.1797, allocations: 46.67 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.1797, allocations: 0.9375 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.48e-05/0.1798, allocations: 168.3 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1798, allocations: 8.375 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1798, allocations: 4.375 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.18, allocations: 57.8 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.18, allocations: 3.938 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.18, allocations: 0 / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.18, allocations: 4 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.125e-05/0.18, allocations: 19.92 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1804, allocations: 268.8 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.242e-05/0.1804, allocations: 46.56 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.1805, allocations: 20.97 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.1805, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.1807, allocations: 105 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1807, allocations: 4 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002283/0.1809, allocations: 139.3 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.181, allocations: 89.03 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.181, allocations: 113.8 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.181, allocations: 25.7 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.1811, allocations: 88.14 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1811, allocations: 19.73 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.1812, allocations: 29.7 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.616e-05/0.1812, allocations: 314.8 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.1813, allocations: 19.98 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/0.1813, allocations: 38.56 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.584e-05/0.1814, allocations: 114.3 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1814, allocations: 0 / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001335/0.1815, allocations: 131.2 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.1816, allocations: 29.7 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1816, allocations: 4.062 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1816, allocations: 4 kB / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.29e-05/0.1816, allocations: 0 / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1817, allocations: 4 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.1817, allocations: 11.98 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1817, allocations: 4.375 kB / 0.7873 GB, free: 9.031 MB / 0.6075 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 8.178e-05/0.1818, allocations: 154.7 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.1818, allocations: 7.906 kB / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.1819, allocations: 16.36 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1819, allocations: 3.938 kB / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1819, allocations: 0 / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1819, allocations: 0 / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.1822, allocations: 400.1 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1822, allocations: 0 / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.178e-06/0.1823, allocations: 4 kB / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1823, allocations: 0 / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1823, allocations: 0 / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1823, allocations: 8 kB / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1823, allocations: 15.92 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.1825, allocations: 225.1 kB / 0.7881 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.1825, allocations: 85.02 kB / 0.7882 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1825, allocations: 4 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.1826, allocations: 11.98 kB / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.1827, allocations: 7.938 kB / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1827, allocations: 0 / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.083e-05/0.1827, allocations: 95.27 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1827, allocations: 0 / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002198/0.183, allocations: 16 kB / 0.7883 GB, free: 7.883 MB / 0.6075 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.000399/0.1834, allocations: 0.7649 MB / 0.7891 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1835, allocations: 119.3 kB / 0.7892 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1835, allocations: 0 / 0.7892 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.291e-05/0.1836, allocations: 91.39 kB / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1839, allocations: 20.03 kB / 0.7893 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.185, allocations: 1.428 MB / 0.7907 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.1851, allocations: 0.6846 MB / 0.7914 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.1852, allocations: 11.77 kB / 0.7914 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1852, allocations: 15.44 kB / 0.7914 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1852, allocations: 3.938 kB / 0.7914 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2721/0.4573, allocations: 1.727 MB / 0.7931 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.4575, allocations: 196.7 kB / 0.7933 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.026, allocations: 0 / 0.7933 GB, free: 2.703 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)