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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 293 MB / 309 MB, free: 4.797 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.001001/0.001001, allocations: 178.8 kB / 378.7 MB, free: 1.023 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.618/1.618, allocations: 205.4 MB / 0.6383 GB, free: 9.168 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.0007528/0.0007532, allocations: 96.92 kB / 0.7527 GB, free: 62.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004133, allocations: 16 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2761, allocations: 116.4 MB / 0.9905 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7462/1.022, allocations: 139.4 MB / 1.127 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.023, allocations: 76.64 kB / 1.127 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005807/1.029, allocations: 2.112 MB / 1.129 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.769e-06/1.029, allocations: 0 / 1.129 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.224e-05/1.029, allocations: 4 kB / 1.129 GB, free: 32.96 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.0005018/1.029, allocations: 408.6 kB / 1.129 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.029, allocations: 8.031 kB / 1.129 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/1.029, allocations: 12.84 kB / 1.129 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/1.029, allocations: 176.5 kB / 1.129 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/1.029, allocations: 4.312 kB / 1.129 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/1.03, allocations: 12.38 kB / 1.129 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/1.03, allocations: 74.27 kB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/1.03, allocations: 192 / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/1.03, allocations: 3.938 kB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/1.03, allocations: 4 kB / 1.129 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/1.03, allocations: 61.91 kB / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/1.03, allocations: 331.3 kB / 1.13 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/1.031, allocations: 65.56 kB / 1.13 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/1.031, allocations: 41.25 kB / 1.13 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/1.031, allocations: 0 / 1.13 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/1.031, allocations: 101.8 kB / 1.13 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/1.031, allocations: 0 / 1.13 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004541/1.032, allocations: 154.7 kB / 1.13 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/1.032, allocations: 55.41 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.643e-05/1.032, allocations: 129.5 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/1.032, allocations: 26.27 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/1.032, allocations: 88.14 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/1.032, allocations: 19.23 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/1.032, allocations: 4 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.547e-05/1.032, allocations: 318.8 kB / 1.131 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/1.032, allocations: 62.41 kB / 1.131 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/1.032, allocations: 90.78 kB / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/1.033, allocations: 149.1 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.033, allocations: 4 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004144/1.033, allocations: 221.3 kB / 1.131 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/1.033, allocations: 41.17 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.033, allocations: 0.5625 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.033, allocations: 8.781 kB / 1.131 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/1.033, allocations: 15.55 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.033, allocations: 4 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/1.033, allocations: 54.58 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/1.033, allocations: 4.688 kB / 1.131 GB, free: 30.22 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 9.155e-05/1.034, allocations: 134.6 kB / 1.132 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/1.034, allocations: 7.906 kB / 1.132 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/1.034, allocations: 9.031 kB / 1.132 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.034, allocations: 4 kB / 1.132 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.034, allocations: 0 / 1.132 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.034, allocations: 0.8906 kB / 1.132 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/1.034, allocations: 389.8 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.034, allocations: 4 kB / 1.132 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/1.034, allocations: 11.47 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.034, allocations: 4.562 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/1.034, allocations: 4.688 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.034, allocations: 0 / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.034, allocations: 0 / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/1.034, allocations: 220.2 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.527e-05/1.035, allocations: 81.02 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/1.035, allocations: 9.562 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/1.035, allocations: 7.422 kB / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/1.035, allocations: 16.47 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/1.035, allocations: 4 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.206e-05/1.035, allocations: 92.03 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.035, allocations: 4 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002644/1.035, allocations: 28 kB / 1.132 GB, free: 29.18 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.0001837/1.035, allocations: 118.5 kB / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003563/1.036, allocations: 193.3 kB / 1.133 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.036, allocations: 0 / 1.133 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/1.036, allocations: 46.88 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/1.036, allocations: 13.92 kB / 1.133 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/1.036, allocations: 183.2 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/1.037, allocations: 0.6878 MB / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.341e-05/1.037, allocations: 4 kB / 1.134 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/1.037, allocations: 11.44 kB / 1.134 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/1.037, allocations: 1.031 kB / 1.134 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.003896/1.041, allocations: 1.3 MB / 1.135 GB, free: 27.2 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)