Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.37/2.37, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.00138/0.00138, allocations: 183 kB / 326.3 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.426/2.426, allocations: 205.4 MB / 0.5772 GB, free: 21.09 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.0009675/0.0009673, allocations: 87.92 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004863, allocations: 11.81 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00184/0.2294, allocations: 1.141 MB / 0.9006 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.2304, allocations: 468 kB / 0.901 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.2305, allocations: 3.938 kB / 0.901 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.2305, allocations: 0 / 0.901 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.918e-05/0.2306, allocations: 7.938 kB / 0.9011 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.2308, allocations: 11.98 kB / 0.9011 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.071e-05/0.2309, allocations: 43.84 kB / 0.9011 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.231, allocations: 8 kB / 0.9011 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.2311, allocations: 23.8 kB / 0.9011 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.2312, allocations: 19.91 kB / 0.9012 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.2312, allocations: 8 kB / 0.9012 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.2312, allocations: 0 / 0.9012 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.2313, allocations: 8 kB / 0.9012 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.2313, allocations: 33.64 kB / 0.9012 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.909e-05/0.2314, allocations: 23.95 kB / 0.9012 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2314, allocations: 4 kB / 0.9012 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2314, allocations: 0 / 0.9012 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2315, allocations: 0 / 0.9012 GB, free: 64.17 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.0005916/0.2321, allocations: 393 kB / 0.9016 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2321, allocations: 8.031 kB / 0.9016 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.2322, allocations: 4.938 kB / 0.9016 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2323, allocations: 168.4 kB / 0.9018 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2323, allocations: 8.375 kB / 0.9018 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.2323, allocations: 4.375 kB / 0.9018 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.2325, allocations: 46 kB / 0.9018 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2325, allocations: 7.984 kB / 0.9018 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.2325, allocations: 8 kB / 0.9019 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.2325, allocations: 3.938 kB / 0.9019 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.2326, allocations: 15.98 kB / 0.9019 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.2331, allocations: 272.7 kB / 0.9021 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.2332, allocations: 42.56 kB / 0.9022 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.2333, allocations: 20.98 kB / 0.9022 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.2333, allocations: 4 kB / 0.9022 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.2335, allocations: 105 kB / 0.9023 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 4.158e-06/0.2336, allocations: 0 / 0.9023 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003538/0.2339, allocations: 147.2 kB / 0.9024 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.234, allocations: 85.11 kB / 0.9025 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.2341, allocations: 106.2 kB / 0.9026 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2341, allocations: 29.7 kB / 0.9026 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.2342, allocations: 88.42 kB / 0.9027 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.2342, allocations: 19.8 kB / 0.9027 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.2342, allocations: 0 / 0.9027 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.2343, allocations: 318.8 kB / 0.9031 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.704e-05/0.2343, allocations: 15.98 kB / 0.9031 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.2344, allocations: 38.56 kB / 0.9031 GB, free: 62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.2345, allocations: 57.7 kB / 0.9032 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2345, allocations: 0 / 0.9032 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000196/0.2347, allocations: 123.2 kB / 0.9033 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.2348, allocations: 33.7 kB / 0.9033 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2348, allocations: 7.922 kB / 0.9033 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2348, allocations: 0 / 0.9033 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.2349, allocations: 12.06 kB / 0.9033 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.2349, allocations: 4 kB / 0.9033 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.235, allocations: 8.062 kB / 0.9033 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.235, allocations: 4 kB / 0.9033 GB, free: 61.73 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.2351, allocations: 152.6 kB / 0.9035 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.2352, allocations: 7.906 kB / 0.9035 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.2352, allocations: 8.375 kB / 0.9035 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2352, allocations: 0 / 0.9035 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2352, allocations: 0 / 0.9035 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.2353, allocations: 85.09 kB / 0.9036 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.2353, allocations: 0 / 0.9036 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2354, allocations: 19.98 kB / 0.9036 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.2355, allocations: 11.88 kB / 0.9036 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003235/0.2359, allocations: 262 kB / 0.9039 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002779/0.2361, allocations: 308.4 kB / 0.9042 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.234e-05/0.2362, allocations: 39.97 kB / 0.9042 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.2363, allocations: 87.27 kB / 0.9043 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of Backend: time 9.22e-07/0.2363, allocations: 3.938 kB / 0.9043 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004835/0.2368, allocations: 169.8 kB / 0.9044 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005826/0.2374, allocations: 0.6575 MB / 0.9051 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.004093/0.2415, allocations: 0.7962 MB / 0.9059 GB, free: 58.99 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)