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.628/1.628, allocations: 252 MB / 268 MB, free: 10.86 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.001133/0.001133, allocations: 178.2 kB / 327.6 MB, free: 2.074 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.955/1.955, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.001017/0.001017, allocations: 88.48 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 12.66 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2082, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001599/0.2099, allocations: 1.191 MB / 0.9026 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004104/0.2103, allocations: 220.3 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.2104, allocations: 0 / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.2104, allocations: 3.938 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.514e-05/0.2105, allocations: 7.938 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.2107, allocations: 19.98 kB / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.2e-05/0.2108, allocations: 59.78 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2109, allocations: 19.97 kB / 0.903 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.353e-05/0.211, allocations: 19.92 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.211, allocations: 27.8 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.2111, allocations: 4 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.2111, allocations: 0 / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.2111, allocations: 11.98 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.2112, allocations: 41.58 kB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.003e-05/0.2112, allocations: 39.89 kB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2113, allocations: 4 kB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2113, allocations: 0 / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2113, allocations: 7.938 kB / 0.9031 GB, free: 61.79 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005049/0.2118, allocations: 375.6 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2118, allocations: 8.031 kB / 0.9035 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.2119, allocations: 8.844 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.212, allocations: 176.2 kB / 0.9036 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.212, allocations: 12.36 kB / 0.9037 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.212, allocations: 4.375 kB / 0.9037 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.2122, allocations: 78.11 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2122, allocations: 192 / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2123, allocations: 7.922 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2123, allocations: 0 / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.2125, allocations: 59.95 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.213, allocations: 312.7 kB / 0.9041 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.2134, allocations: 118.6 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.534e-05/0.2135, allocations: 32.95 kB / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.2135, allocations: 0 / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.2137, allocations: 95.39 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2137, allocations: 0 / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003949/0.2141, allocations: 149.5 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.2142, allocations: 51.41 kB / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.2143, allocations: 121.8 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2143, allocations: 25.7 kB / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.2143, allocations: 96.05 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.2143, allocations: 15.73 kB / 0.9048 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.2144, allocations: 8 kB / 0.9048 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.798e-05/0.2144, allocations: 322.7 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.65e-05/0.2145, allocations: 35.97 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.2146, allocations: 63.41 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2148, allocations: 87.34 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2148, allocations: 0 / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002355/0.2151, allocations: 125.5 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2151, allocations: 7.062 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2151, allocations: 96 / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2151, allocations: 8 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.2152, allocations: 19.92 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2152, allocations: 7.938 kB / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-05/0.2153, allocations: 15.98 kB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.2153, allocations: 7.938 kB / 0.9054 GB, free: 59.14 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/0.2154, allocations: 128.2 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.2154, allocations: 7.906 kB / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.2155, allocations: 12.36 kB / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2155, allocations: 64 / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2155, allocations: 4 kB / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2155, allocations: 0 / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.2159, allocations: 378.4 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2159, allocations: 4 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.216, allocations: 7.984 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.216, allocations: 4 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.216, allocations: 0 / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.216, allocations: 3.938 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.216, allocations: 0 / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.2162, allocations: 215.3 kB / 0.9062 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.2163, allocations: 85.05 kB / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2163, allocations: 0 / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2164, allocations: 27.92 kB / 0.9063 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.2165, allocations: 7.984 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2165, allocations: 3.984 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.2165, allocations: 87.28 kB / 0.9064 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2165, allocations: 4 kB / 0.9064 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002084/0.2168, allocations: 15.91 kB / 0.9064 GB, free: 58.07 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001064/0.2169, allocations: 107.2 kB / 0.9065 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.2171, allocations: 79.89 kB / 0.9066 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2171, allocations: 0 / 0.9066 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2172, allocations: 52.09 kB / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.2175, allocations: 8 kB / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.2179, allocations: 224.3 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2181, allocations: 0.6887 MB / 0.9075 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.2181, allocations: 11.72 kB / 0.9075 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2181, allocations: 0 / 0.9075 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.002075/0.2202, allocations: 0.9832 MB / 0.9085 GB, free: 55.86 MB / 0.6042 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)