Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.6 MB / 307.6 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001163, allocations: 185 kB / 377.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 0.6367 GB, free: 8.656 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009888/0.000989, allocations: 85.64 kB / 0.751 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004667, allocations: 12 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.323, allocations: 116.3 MB / 0.9884 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8155/1.139, allocations: 139.4 MB / 1.124 GB, free: 35.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.139, allocations: 71.39 kB / 1.125 GB, free: 35.42 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00603/1.145, allocations: 2.111 MB / 1.127 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.226e-06/1.145, allocations: 0 / 1.127 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.268e-06/1.145, allocations: 0.6562 kB / 1.127 GB, free: 33.88 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005836/1.146, allocations: 404.5 kB / 1.127 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/1.146, allocations: 12.02 kB / 1.127 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/1.146, allocations: 18.47 kB / 1.127 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/1.146, allocations: 170.2 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/1.146, allocations: 4 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/1.146, allocations: 11.44 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/1.146, allocations: 70.91 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.146, allocations: 9.406 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/1.146, allocations: 7.281 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.146, allocations: 0 / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/1.146, allocations: 57.8 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/1.147, allocations: 336.8 kB / 1.128 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/1.147, allocations: 62.36 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/1.147, allocations: 4.609 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/1.147, allocations: 94.03 kB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/1.147, allocations: 0 / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000435/1.148, allocations: 166.8 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/1.148, allocations: 51.41 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.516e-05/1.148, allocations: 109.2 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/1.148, allocations: 33.7 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/1.148, allocations: 92.05 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/1.148, allocations: 18.95 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/1.148, allocations: 0.8438 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.338e-05/1.148, allocations: 326.8 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/1.148, allocations: 58.03 kB / 1.129 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/1.149, allocations: 89.05 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/1.149, allocations: 84.12 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.149, allocations: 0 / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004025/1.149, allocations: 223.9 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/1.149, allocations: 41.22 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.149, allocations: 0 / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.149, allocations: 5.062 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/1.149, allocations: 15.45 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.149, allocations: 4.125 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/1.15, allocations: 50.44 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/1.15, allocations: 9.266 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001081/1.15, allocations: 129.1 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/1.15, allocations: 12.78 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/1.15, allocations: 8.375 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.15, allocations: 5.172 kB / 1.129 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.15, allocations: 0 / 1.129 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.15, allocations: 0 / 1.129 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/1.15, allocations: 382.5 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.15, allocations: 4.75 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/1.15, allocations: 11.47 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.15, allocations: 0 / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/1.15, allocations: 4 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.15, allocations: 2.062 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.15, allocations: 3.375 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/1.151, allocations: 226.3 kB / 1.13 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/1.151, allocations: 81.02 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/1.151, allocations: 7.516 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/1.151, allocations: 12 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/1.151, allocations: 7.469 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/1.151, allocations: 8.828 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.66e-05/1.151, allocations: 88.27 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.151, allocations: 0 / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002658/1.151, allocations: 36.59 kB / 1.13 GB, free: 30.24 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001947/1.151, allocations: 115.2 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003536/1.152, allocations: 187.9 kB / 1.13 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.152, allocations: 0 / 1.13 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/1.152, allocations: 52.17 kB / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/1.152, allocations: 17.92 kB / 1.13 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/1.153, allocations: 174.5 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/1.153, allocations: 0.6952 MB / 1.131 GB, free: 29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.139e-05/1.153, allocations: 4 kB / 1.131 GB, free: 29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/1.153, allocations: 12.38 kB / 1.131 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/1.153, allocations: 0 / 1.131 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of Templates: time 0.003516/1.156, allocations: 1.258 MB / 1.133 GB, free: 28.29 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)