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.001552/0.001552, allocations: 102.2 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 191.2 kB / 17.2 MB, free: 5.953 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.46/1.46, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.921/1.921, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.002349/0.002349, allocations: 67.91 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2983, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002755/0.3011, allocations: 0.7528 MB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.303, allocations: 1.152 MB / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.3031, allocations: 0 / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.3032, allocations: 3.938 kB / 0.7859 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.593e-05/0.3033, allocations: 11.88 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006444/0.304, allocations: 139.1 kB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.3042, allocations: 111.8 kB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3043, allocations: 27.97 kB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3044, allocations: 43.86 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.3046, allocations: 43.88 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.3046, allocations: 8 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.541e-05/0.3047, allocations: 19.98 kB / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.3047, allocations: 19.92 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.3048, allocations: 39.84 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.305, allocations: 115.7 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.305, allocations: 0 / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.305, allocations: 7.938 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3051, allocations: 0 / 0.7865 GB, free: 1.352 MB / 0.6544 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.0007632/0.3058, allocations: 413.2 kB / 0.7869 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3059, allocations: 8.031 kB / 0.7869 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.306, allocations: 12.84 kB / 0.7869 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.3061, allocations: 168.4 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3061, allocations: 12.31 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3062, allocations: 8.359 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.3064, allocations: 66.23 kB / 0.7871 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3064, allocations: 192 / 0.7871 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3064, allocations: 7.922 kB / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3064, allocations: 4 kB / 0.7871 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.3067, allocations: 43.91 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.3073, allocations: 344.6 kB / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.3075, allocations: 62.55 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3076, allocations: 28.97 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.3076, allocations: 0 / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5928/0.9004, allocations: 91.25 kB / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 4.178e-06/0.9005, allocations: 0 / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005218/0.901, allocations: 137.2 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.9011, allocations: 54.75 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.9012, allocations: 125.9 kB / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.9012, allocations: 29.27 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.9012, allocations: 89.27 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.9013, allocations: 19.16 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.9014, allocations: 44.72 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.9014, allocations: 321.2 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.9016, allocations: 54.25 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.9017, allocations: 84.28 kB / 0.7886 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.902, allocations: 147.5 kB / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.902, allocations: 0 / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004092/0.9024, allocations: 214.3 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.9025, allocations: 39.23 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.9025, allocations: 3.125 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.9025, allocations: 0 / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.9027, allocations: 14.55 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.9027, allocations: 2.875 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.9029, allocations: 37.5 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.903, allocations: 9.234 kB / 0.7891 GB, free: 48 MB / 0.6544 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 9.831e-05/0.9031, allocations: 131.8 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.9031, allocations: 9.906 kB / 0.7892 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.9031, allocations: 10.69 kB / 0.7892 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9031, allocations: 2.344 kB / 0.7892 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9032, allocations: 0.75 kB / 0.7892 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9032, allocations: 0 / 0.7892 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.9036, allocations: 377.5 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9036, allocations: 0.6562 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.9037, allocations: 10.3 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.9037, allocations: 0 / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.9037, allocations: 10.31 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.9037, allocations: 0 / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9037, allocations: 0.9688 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.904, allocations: 209.1 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.904, allocations: 84.86 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.9041, allocations: 3.094 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.9041, allocations: 5.203 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.9042, allocations: 18.25 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.9042, allocations: 7.125 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.009e-05/0.9043, allocations: 93.22 kB / 0.79 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9043, allocations: 0 / 0.79 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002799/0.9046, allocations: 26.5 kB / 0.79 GB, free: 47.27 MB / 0.6544 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.0001691/0.9047, allocations: 107.3 kB / 0.7901 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003969/0.9051, allocations: 180.2 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9052, allocations: 0 / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.9053, allocations: 44.55 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.9056, allocations: 17.39 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.906, allocations: 182.4 kB / 0.7905 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.9062, allocations: 0.6895 MB / 0.7912 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.9062, allocations: 19.69 kB / 0.7912 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.9062, allocations: 0 / 0.7912 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.003023/0.9093, allocations: 1.272 MB / 0.7924 GB, free: 46.24 MB / 0.6544 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)