Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.282/1.282, allocations: 252 MB / 267.9 MB, free: 10.94 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.0008712/0.0008712, allocations: 187.1 kB / 327.6 MB, free: 2.184 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.595/1.595, allocations: 205.4 MB / 0.5785 GB, free: 20.46 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.0007825/0.000783, allocations: 85.3 kB / 0.6831 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 14.31 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1992, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.3589, allocations: 131.8 MB / 1.03 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.3592, allocations: 75.95 kB / 1.03 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002621/0.3618, allocations: 0.9747 MB / 1.031 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3618, allocations: 0 / 1.031 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.3618, allocations: 4 kB / 1.031 GB, free: 11.01 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004922/0.3623, allocations: 383.2 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3624, allocations: 8.031 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.3624, allocations: 12.84 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3626, allocations: 180.1 kB / 1.032 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.3626, allocations: 4.375 kB / 1.032 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3626, allocations: 4.375 kB / 1.032 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3628, allocations: 78.22 kB / 1.032 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3628, allocations: 192 / 1.032 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3629, allocations: 3.938 kB / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3629, allocations: 0 / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.3631, allocations: 63.89 kB / 1.032 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.3636, allocations: 308.8 kB / 1.032 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.364, allocations: 126.6 kB / 1.032 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.3641, allocations: 36.95 kB / 1.032 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.3641, allocations: 0 / 1.032 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.3643, allocations: 87.38 kB / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.3644, allocations: 0 / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004442/0.3648, allocations: 141.5 kB / 1.032 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.3649, allocations: 55.34 kB / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.365, allocations: 117.8 kB / 1.033 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.365, allocations: 29.7 kB / 1.033 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.3651, allocations: 100 kB / 1.033 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.3651, allocations: 11.81 kB / 1.033 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.3651, allocations: 4 kB / 1.033 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3653, allocations: 322.8 kB / 1.033 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.3654, allocations: 31.98 kB / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.3655, allocations: 67.7 kB / 1.033 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.3657, allocations: 95.33 kB / 1.033 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3657, allocations: 0 / 1.033 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002722/0.366, allocations: 117.6 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.366, allocations: 8 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.366, allocations: 0 / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3661, allocations: 11.86 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.3661, allocations: 16.09 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3662, allocations: 4 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.628e-05/0.3663, allocations: 19.88 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.3663, allocations: 4 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.000101/0.3664, allocations: 127.6 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.3664, allocations: 4 kB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.3664, allocations: 16.38 kB / 1.034 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3664, allocations: 0 / 1.034 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3665, allocations: 0 / 1.034 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3665, allocations: 3.938 kB / 1.034 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.3669, allocations: 374.7 kB / 1.034 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3669, allocations: 4 kB / 1.034 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.367, allocations: 12.05 kB / 1.034 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.367, allocations: 4 kB / 1.034 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.367, allocations: 4 kB / 1.034 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.367, allocations: 7.938 kB / 1.034 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.367, allocations: 0 / 1.034 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.3673, allocations: 207.5 kB / 1.034 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.3674, allocations: 81.02 kB / 1.034 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.3674, allocations: 8 kB / 1.034 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.3675, allocations: 15.92 kB / 1.034 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.3676, allocations: 11.98 kB / 1.034 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.3676, allocations: 4 kB / 1.034 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.3677, allocations: 95.27 kB / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3677, allocations: 0 / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002135/0.3679, allocations: 12 kB / 1.034 GB, free: 7.285 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.0001302/0.368, allocations: 99.7 kB / 1.034 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.3683, allocations: 89.58 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3683, allocations: 0 / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3684, allocations: 43.91 kB / 1.035 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.3687, allocations: 22.08 kB / 1.035 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.3692, allocations: 190.6 kB / 1.035 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3695, allocations: 0.6941 MB / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.3695, allocations: 4 kB / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.3696, allocations: 11.44 kB / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3696, allocations: 0 / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of Templates: time 0.002948/0.3725, allocations: 0.7727 MB / 1.036 GB, free: 5.316 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)