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.001176/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00118/0.00118, allocations: 192.8 kB / 16.13 MB, free: 6.664 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.163/1.163, allocations: 205.1 MB / 222 MB, free: 4.766 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.497/1.497, allocations: 292.3 MB / 0.5484 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.001386/0.001386, allocations: 66.92 kB / 0.6709 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1744, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002215/0.1767, allocations: 1.491 MB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006308/0.1773, allocations: 480.8 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.1774, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.1774, allocations: 3.938 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-05/0.1775, allocations: 7.938 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.1776, allocations: 19.97 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.868e-05/0.1777, allocations: 47.8 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.084e-05/0.1778, allocations: 15.98 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.1778, allocations: 12 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.1779, allocations: 31.78 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1779, allocations: 0 / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.1779, allocations: 4 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.178, allocations: 0 / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.178, allocations: 27.84 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.547e-05/0.1781, allocations: 32.12 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1781, allocations: 4 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.943e-06/0.1781, allocations: 3.984 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.1781, allocations: 4 kB / 0.7849 GB, free: 11.74 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.0005176/0.1786, allocations: 393 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1787, allocations: 12.03 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.1787, allocations: 30.75 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.1788, allocations: 4.938 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1789, allocations: 172.3 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1789, allocations: 4.375 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.1789, allocations: 8.375 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.179, allocations: 57.75 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.179, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.179, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.179, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.128e-05/0.1791, allocations: 15.98 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.1795, allocations: 272.8 kB / 0.7858 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.257e-05/0.1796, allocations: 46.56 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.1796, allocations: 20.92 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.1796, allocations: 4 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.1798, allocations: 97.08 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.1798, allocations: 3.938 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002635/0.1801, allocations: 151.1 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.1801, allocations: 85.11 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.1802, allocations: 109.9 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1802, allocations: 33.7 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.1803, allocations: 80.14 kB / 0.7864 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1803, allocations: 23.73 kB / 0.7865 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.1804, allocations: 25.72 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1805, allocations: 322.8 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.1805, allocations: 12 kB / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.392e-05/0.1806, allocations: 42.56 kB / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/0.1807, allocations: 109.9 kB / 0.7869 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1807, allocations: 0 / 0.7869 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000144/0.1808, allocations: 127.2 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.1809, allocations: 33.7 kB / 0.7871 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1809, allocations: 64 / 0.7871 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-06/0.1809, allocations: 4 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.134e-05/0.1809, allocations: 11.92 kB / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1809, allocations: 0 / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.181, allocations: 4 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.181, allocations: 4 kB / 0.7871 GB, free: 9.164 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 9.361e-05/0.1811, allocations: 158.3 kB / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.1811, allocations: 7.906 kB / 0.7873 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.1812, allocations: 4.375 kB / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1812, allocations: 8 kB / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1812, allocations: 0 / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1812, allocations: 0 / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.1815, allocations: 404.6 kB / 0.7877 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1816, allocations: 0 / 0.7877 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.1816, allocations: 7.984 kB / 0.7877 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1816, allocations: 0 / 0.7877 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1816, allocations: 4 kB / 0.7877 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1816, allocations: 384 / 0.7877 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1816, allocations: 7.875 kB / 0.7877 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.1818, allocations: 241 kB / 0.7879 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.1819, allocations: 81.02 kB / 0.788 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.1819, allocations: 8 kB / 0.788 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.182, allocations: 7.984 kB / 0.788 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.182, allocations: 11.92 kB / 0.788 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1821, allocations: 4 kB / 0.788 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.1821, allocations: 91.42 kB / 0.7881 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1821, allocations: 0 / 0.7881 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002194/0.1823, allocations: 19.98 kB / 0.7881 GB, free: 8.004 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.0004434/0.1828, allocations: 0.7619 MB / 0.7889 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.1829, allocations: 119.4 kB / 0.789 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.183, allocations: 4.062 kB / 0.789 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.047e-05/0.183, allocations: 87.34 kB / 0.7891 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1833, allocations: 15.92 kB / 0.7891 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.1845, allocations: 1.431 MB / 0.7905 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.1847, allocations: 0.6887 MB / 0.7912 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.1848, allocations: 7.781 kB / 0.7912 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.1848, allocations: 19.7 kB / 0.7912 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.1848, allocations: 0 / 0.7912 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.1957, allocations: 1.66 MB / 0.7928 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.1959, allocations: 193.2 kB / 0.793 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/1.734, allocations: 0 / 0.793 GB, free: 2.879 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)