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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 187.3 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.901/1.901, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.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.001399/0.001399, allocations: 71.25 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2554, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002236/0.2577, allocations: 0.7679 MB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.2593, allocations: 1.146 MB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.2594, allocations: 0 / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.2594, allocations: 11.92 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.949e-05/0.2595, allocations: 7.875 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.26, allocations: 129.1 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.2602, allocations: 127.8 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2603, allocations: 15.98 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.2604, allocations: 47.91 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.512e-05/0.2605, allocations: 47.81 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.2605, allocations: 12 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.122e-05/0.2606, allocations: 27.92 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.2606, allocations: 15.92 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.2607, allocations: 43.83 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.2609, allocations: 115.7 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2609, allocations: 0 / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2609, allocations: 0 / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2609, allocations: 0 / 0.7866 GB, free: 10.18 MB / 0.6075 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.0006063/0.2615, allocations: 416.9 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2616, allocations: 8.031 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.2616, allocations: 8.844 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.2618, allocations: 168.4 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.2618, allocations: 4.375 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.2619, allocations: 16.31 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2621, allocations: 66.22 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2621, allocations: 192 / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.2621, allocations: 7.938 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2621, allocations: 0 / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.2624, allocations: 39.95 kB / 0.7873 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.2629, allocations: 348.5 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.2632, allocations: 62.61 kB / 0.7877 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.2633, allocations: 32.94 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.2633, allocations: 0 / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.2636, allocations: 95.3 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2636, allocations: 4 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004281/0.264, allocations: 133.5 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.264, allocations: 55.47 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.2641, allocations: 125.8 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.2642, allocations: 37.7 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.2643, allocations: 92.05 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.2643, allocations: 11.8 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.2644, allocations: 41.64 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2645, allocations: 326.8 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2647, allocations: 51.97 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.2648, allocations: 95.62 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.2651, allocations: 138.2 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2651, allocations: 4 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004334/0.2656, allocations: 203.2 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.2656, allocations: 41.69 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2656, allocations: 4.062 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2657, allocations: 4 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.2658, allocations: 15.92 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2658, allocations: 128 / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.266, allocations: 39.91 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.266, allocations: 11.98 kB / 0.7892 GB, free: 7.25 MB / 0.6075 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.2661, allocations: 122.4 kB / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.2662, allocations: 3.906 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.2662, allocations: 12.38 kB / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2662, allocations: 0 / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2662, allocations: 7.984 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2662, allocations: 3.938 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007213/0.267, allocations: 378.4 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.267, allocations: 0 / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.267, allocations: 8 kB / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.267, allocations: 0 / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.2671, allocations: 7.984 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2671, allocations: 7.938 kB / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2671, allocations: 3.938 kB / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.2674, allocations: 203.4 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.2675, allocations: 85.02 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.2675, allocations: 4 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.2676, allocations: 7.984 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.2676, allocations: 11.94 kB / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2676, allocations: 3.984 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.2677, allocations: 99.33 kB / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2677, allocations: 0 / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002731/0.268, allocations: 27.98 kB / 0.7901 GB, free: 6.172 MB / 0.6075 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 (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.0001728/0.2682, allocations: 103.2 kB / 0.7902 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.2686, allocations: 179.3 kB / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2686, allocations: 0 / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.2687, allocations: 39.97 kB / 0.7904 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.269, allocations: 21.17 kB / 0.7904 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.2694, allocations: 174.3 kB / 0.7906 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.2697, allocations: 0.6915 MB / 0.7913 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.2697, allocations: 7.984 kB / 0.7913 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.2698, allocations: 11.44 kB / 0.7913 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2698, allocations: 0 / 0.7913 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of Templates: time 0.004344/0.2741, allocations: 1.449 MB / 0.7927 GB, free: 3.449 MB / 0.6075 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)