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.398/1.398, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001038/0.001038, allocations: 177.8 kB / 326.5 MB, free: 2.699 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.733/1.733, allocations: 205 MB / 0.5766 GB, free: 21 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.0007547/0.0007547, allocations: 85.23 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003437, allocations: 7.625 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1882, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001539/0.1898, allocations: 1.153 MB / 0.8979 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006934/0.1905, allocations: 493 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.1905, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.1906, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.1907, allocations: 15.86 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.1908, allocations: 15.94 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.1909, allocations: 51.83 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.191, allocations: 11.94 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.1911, allocations: 15.92 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.1912, allocations: 19.92 kB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1912, allocations: 0 / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.1912, allocations: 4 kB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.1912, allocations: 0 / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.1913, allocations: 23.86 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.248e-05/0.1914, allocations: 43.88 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1914, allocations: 0 / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1914, allocations: 0 / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.1914, allocations: 4 kB / 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.0005542/0.192, allocations: 392.9 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.192, allocations: 8.031 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.1921, allocations: 4.938 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1922, allocations: 176.3 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1922, allocations: 4.375 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1923, allocations: 12.31 kB / 0.8991 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1924, allocations: 50 kB / 0.8991 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.1924, allocations: 0 / 0.8991 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1924, allocations: 3.938 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1924, allocations: 3.984 kB / 0.8992 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.1925, allocations: 19.94 kB / 0.8992 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.1929, allocations: 276.8 kB / 0.8994 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.009e-05/0.193, allocations: 38.56 kB / 0.8995 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.193, allocations: 20.98 kB / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.193, allocations: 7.984 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.1932, allocations: 101 kB / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.1932, allocations: 0 / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002508/0.1935, allocations: 135.3 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.1935, allocations: 89.05 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.1936, allocations: 113.8 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.1936, allocations: 25.7 kB / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.1937, allocations: 88.12 kB / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.1937, allocations: 27.72 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.1937, allocations: 17.72 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.1938, allocations: 318.8 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.1938, allocations: 12 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.87e-05/0.1939, allocations: 46.5 kB / 0.9004 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.548e-05/0.194, allocations: 113.8 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.194, allocations: 0 / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001299/0.1941, allocations: 123.3 kB / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.1941, allocations: 36.2 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1941, allocations: 4.062 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1942, allocations: 0 / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.57e-05/0.1942, allocations: 7.984 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1942, allocations: 0 / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.1943, allocations: 11.91 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1943, 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 7.891e-05/0.1944, allocations: 159.8 kB / 0.9009 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.1944, allocations: 7.938 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.1945, allocations: 8.375 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1945, allocations: 0 / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1945, allocations: 7.922 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.1945, allocations: 89 kB / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1945, allocations: 4 kB / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1946, allocations: 8 kB / 0.901 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.1946, allocations: 11.92 kB / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001964/0.1948, allocations: 278 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001578/0.195, allocations: 296.5 kB / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.695e-05/0.1951, allocations: 31.98 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.576e-05/0.1951, allocations: 91.75 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of Backend: time 4.01e-07/0.1951, allocations: 4 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.1955, allocations: 172 kB / 0.9018 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004142/0.1959, allocations: 0.6482 MB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.002694/0.1986, allocations: 0.8324 MB / 0.9033 GB, free: 61.03 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)