Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 251.5 MB / 267.4 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002098/0.002098, allocations: 169.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205 MB / 0.5766 GB, free: 20.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007506/0.0007506, allocations: 90.3 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 8.688 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1796, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001402/0.1811, allocations: 1.145 MB / 0.8978 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006903/0.1818, allocations: 0.4931 MB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.1819, allocations: 0 / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.1819, allocations: 3.938 kB / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.182, allocations: 7.922 kB / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.1821, allocations: 12 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.252e-05/0.1822, allocations: 47.84 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.1823, allocations: 15.92 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.1824, allocations: 19.88 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.1824, allocations: 19.91 kB / 0.8985 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1825, allocations: 4 kB / 0.8985 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.1825, allocations: 0 / 0.8985 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.1825, allocations: 7.938 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.1826, allocations: 15.92 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.858e-05/0.1826, allocations: 31.94 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1826, allocations: 0 / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1827, allocations: 0 / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1827, allocations: 0 / 0.8985 GB, free: 66.34 MB / 0.6042 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.0004803/0.1831, allocations: 397 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1832, allocations: 8.031 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.1833, allocations: 4.938 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.333e-05/0.1833, allocations: 168.2 kB / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1834, allocations: 8.375 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1834, allocations: 8.375 kB / 0.8991 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1835, allocations: 49.98 kB / 0.8991 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1835, allocations: 0 / 0.8991 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1835, allocations: 8 kB / 0.8991 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1835, allocations: 3.984 kB / 0.8991 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.229e-05/0.1836, allocations: 15.94 kB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.1839, allocations: 272.8 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.318e-05/0.184, allocations: 42.58 kB / 0.8995 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.1841, allocations: 28.91 kB / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.1841, allocations: 0 / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.1842, allocations: 105.2 kB / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1843, allocations: 0 / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.000236/0.1845, allocations: 139.2 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1845, allocations: 89.09 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.1846, allocations: 109.8 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.1846, allocations: 33.7 kB / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.1847, allocations: 80.14 kB / 0.9 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1847, allocations: 27.59 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.1847, allocations: 21.7 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.13e-05/0.1848, allocations: 318.8 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.1848, allocations: 19.98 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.372e-05/0.1848, allocations: 30.58 kB / 0.9004 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.272e-05/0.1849, allocations: 126.3 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1849, allocations: 0 / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001239/0.185, allocations: 119.3 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.1851, allocations: 33.69 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1851, allocations: 4 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1851, allocations: 4.062 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.097e-05/0.1852, allocations: 4 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1852, allocations: 0 / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.1852, allocations: 19.89 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1852, allocations: 4 kB / 0.9007 GB, free: 63.8 MB / 0.6042 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 6.88e-05/0.1853, allocations: 143.5 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.1853, allocations: 4 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.1854, allocations: 12.38 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1854, allocations: 7.984 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1854, allocations: 0 / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1854, allocations: 4.312 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.1857, allocations: 408 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1857, allocations: 3.938 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-06/0.1857, allocations: 0 / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1857, allocations: 4 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.1857, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1857, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1857, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.1859, allocations: 233.1 kB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.1859, allocations: 96.94 kB / 0.9016 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.186, allocations: 0 / 0.9016 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1861, allocations: 8 kB / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.1861, allocations: 11.92 kB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1861, allocations: 4 kB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.602e-05/0.1862, allocations: 91.27 kB / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1862, allocations: 0 / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002251/0.1864, allocations: 20 kB / 0.9017 GB, free: 62.65 MB / 0.6042 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 7.043e-05/0.1865, allocations: 97.75 kB / 0.9018 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.1866, allocations: 119.3 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1866, allocations: 0 / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.1867, allocations: 87.39 kB / 0.902 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.187, allocations: 16.12 kB / 0.902 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.1873, allocations: 188.9 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.734e-05/0.1874, allocations: 0.6887 MB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.1875, allocations: 11.44 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1875, allocations: 4 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.001969/0.1895, allocations: 0.8935 MB / 0.9038 GB, free: 60.47 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)