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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009849, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00123/0.00123, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.615/1.615, allocations: 252 MB / 0.5102 GB, free: 4.785 MB / 414.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.0005964/0.0005965, allocations: 12 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6329, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002427/0.6354, allocations: 1.137 MB / 0.7292 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.6364, allocations: 463.7 kB / 0.7297 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.6364, allocations: 0 / 0.7297 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.6365, allocations: 3.938 kB / 0.7297 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.856e-05/0.6366, allocations: 11.92 kB / 0.7297 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.6367, allocations: 15.98 kB / 0.7297 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.6369, allocations: 43.84 kB / 0.7297 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.637, allocations: 4 kB / 0.7297 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.637, allocations: 27.86 kB / 0.7298 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.153e-05/0.6371, allocations: 19.91 kB / 0.7298 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.6371, allocations: 4 kB / 0.7298 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.6372, allocations: 0 / 0.7298 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.6372, allocations: 4 kB / 0.7298 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.6372, allocations: 29.7 kB / 0.7298 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.463e-05/0.6373, allocations: 33.86 kB / 0.7299 GB, free: 9.594 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6373, allocations: 0 / 0.7299 GB, free: 9.594 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6374, allocations: 0 / 0.7299 GB, free: 9.594 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.6374, allocations: 0 / 0.7299 GB, free: 9.594 MB / 0.545 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.0006487/0.638, allocations: 392.8 kB / 0.7302 GB, free: 9.156 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6381, allocations: 8.031 kB / 0.7302 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.6381, allocations: 12 kB / 0.7302 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.6383, allocations: 178.9 kB / 0.7304 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6383, allocations: 0 / 0.7304 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.6383, allocations: 4 kB / 0.7304 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.6385, allocations: 57.67 kB / 0.7305 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.6385, allocations: 0 / 0.7305 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.6385, allocations: 3.938 kB / 0.7305 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6385, allocations: 0 / 0.7305 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.57e-05/0.6386, allocations: 23.92 kB / 0.7305 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.639, allocations: 272.8 kB / 0.7308 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/0.6392, allocations: 42.56 kB / 0.7308 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.6392, allocations: 16.98 kB / 0.7308 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.6392, allocations: 11.97 kB / 0.7308 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.6395, allocations: 97.03 kB / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.6395, allocations: 0 / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003235/0.6398, allocations: 147.2 kB / 0.7311 GB, free: 8.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.6399, allocations: 89.12 kB / 0.7311 GB, free: 8.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.64, allocations: 113.8 kB / 0.7313 GB, free: 7.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.64, allocations: 29.7 kB / 0.7313 GB, free: 7.898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.6402, allocations: 92.12 kB / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.6402, allocations: 11.81 kB / 0.7314 GB, free: 7.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/0.6402, allocations: 4 kB / 0.7314 GB, free: 7.789 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6404, allocations: 314.8 kB / 0.7317 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/0.6404, allocations: 15.98 kB / 0.7317 GB, free: 7.457 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.6405, allocations: 34.56 kB / 0.7317 GB, free: 7.414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.324e-05/0.6406, allocations: 49.7 kB / 0.7318 GB, free: 7.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6406, allocations: 0 / 0.7318 GB, free: 7.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001641/0.6407, allocations: 127.2 kB / 0.7319 GB, free: 7.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.6408, allocations: 35.41 kB / 0.7319 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.6408, allocations: 0 / 0.7319 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6408, allocations: 4 kB / 0.7319 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.703e-05/0.6409, allocations: 7.938 kB / 0.7319 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.6409, allocations: 3.953 kB / 0.732 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.641, allocations: 12.06 kB / 0.732 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.641, allocations: 0 / 0.732 GB, free: 7.156 MB / 0.545 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.0001139/0.6411, allocations: 147.5 kB / 0.7321 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.6411, allocations: 11.91 kB / 0.7321 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.6412, allocations: 8.375 kB / 0.7321 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6412, allocations: 0 / 0.7321 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6412, allocations: 3.938 kB / 0.7321 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6412, allocations: 7.938 kB / 0.7321 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.6417, allocations: 404.1 kB / 0.7325 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6417, allocations: 0 / 0.7325 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-06/0.6417, allocations: 0 / 0.7325 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6417, allocations: 0 / 0.7325 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.6417, allocations: 8 kB / 0.7325 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6417, allocations: 7.891 kB / 0.7325 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6417, allocations: 384 / 0.7325 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.642, allocations: 237.1 kB / 0.7328 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.642, allocations: 81.02 kB / 0.7328 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.642, allocations: 12.05 kB / 0.7329 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.6422, allocations: 12 kB / 0.7329 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.6422, allocations: 11.94 kB / 0.7329 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.6422, allocations: 0 / 0.7329 GB, free: 6.105 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.6423, allocations: 95.2 kB / 0.733 GB, free: 6.012 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6423, allocations: 0 / 0.733 GB, free: 6.012 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002317/0.6425, allocations: 16 kB / 0.733 GB, free: 5.996 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001226/0.6427, allocations: 103.2 kB / 0.7331 GB, free: 5.887 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.6428, allocations: 115.3 kB / 0.7332 GB, free: 5.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6429, allocations: 0 / 0.7332 GB, free: 5.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.351e-05/0.643, allocations: 88.17 kB / 0.7333 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.6432, allocations: 14.95 kB / 0.7333 GB, free: 5.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.6436, allocations: 160.8 kB / 0.7334 GB, free: 5.465 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.6439, allocations: 0.6874 MB / 0.7341 GB, free: 4.754 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.644, allocations: 7.984 kB / 0.7341 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.644, allocations: 15.38 kB / 0.7341 GB, free: 4.73 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.644, allocations: 0 / 0.7341 GB, free: 4.73 MB / 0.545 GB Notification: Performance of Templates: time 0.002947/0.6469, allocations: 0.7398 MB / 0.7349 GB, free: 3.996 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: