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.001175/0.001175, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001446/0.001446, allocations: 189.1 kB / 16.25 MB, free: 6.625 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.679/1.679, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.723/1.723, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.00136/0.00136, allocations: 74.78 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3118, allocations: 114.5 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00315/0.315, allocations: 0.8251 MB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.3174, allocations: 1.15 MB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.3175, allocations: 0 / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.049e-05/0.3176, allocations: 3.938 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3178, allocations: 7.938 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000743/0.3185, allocations: 115.8 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.3188, allocations: 119.8 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.3189, allocations: 15.98 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.3191, allocations: 51.84 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.3193, allocations: 39.89 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.3193, allocations: 8 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.3194, allocations: 35.97 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.3195, allocations: 11.92 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3196, allocations: 43.84 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.3199, allocations: 107.7 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3199, allocations: 0 / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.955e-06/0.3199, allocations: 0 / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.3199, allocations: 0 / 0.7853 GB, free: 11.31 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.0008049/0.3207, allocations: 425.2 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.3208, allocations: 12.03 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.066e-05/0.3209, allocations: 8.844 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.3211, allocations: 176.2 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3211, allocations: 8.312 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.3212, allocations: 4.375 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.3214, allocations: 70.2 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3214, allocations: 192 / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.3214, allocations: 11.94 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.3215, allocations: 4 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.3216, allocations: 39.95 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.3223, allocations: 344.5 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.3225, allocations: 58.61 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.3226, allocations: 32.95 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3227, allocations: 0 / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/0.323, allocations: 95.36 kB / 0.7866 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.323, allocations: 4 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004629/0.3235, allocations: 137.5 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3235, allocations: 51.41 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3237, allocations: 125.8 kB / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.3237, allocations: 29.7 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.3238, allocations: 92.05 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.3238, allocations: 27.78 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.3239, allocations: 45.58 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.324, allocations: 318.8 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3242, allocations: 51.97 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3244, allocations: 86.88 kB / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.3247, allocations: 141.9 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3247, allocations: 0 / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004638/0.3251, allocations: 215.1 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.06e-05/0.3252, allocations: 37.69 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3252, allocations: 0 / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.3253, allocations: 0 / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3254, allocations: 11.98 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3254, allocations: 4 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.3256, allocations: 44.02 kB / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.3257, allocations: 4 kB / 0.7879 GB, free: 8.371 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.0001259/0.3258, allocations: 126.4 kB / 0.7881 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.3258, allocations: 7.906 kB / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.3259, allocations: 12.36 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3259, allocations: 7.984 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3259, allocations: 0 / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3259, allocations: 0 / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.3265, allocations: 386.3 kB / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.3265, allocations: 8 kB / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.3265, allocations: 8 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3266, allocations: 0 / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3266, allocations: 3.984 kB / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3266, allocations: 0 / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3266, allocations: 4 kB / 0.7885 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.3269, allocations: 203.8 kB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.327, allocations: 81.02 kB / 0.7887 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.327, allocations: 8 kB / 0.7887 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.3271, allocations: 7.984 kB / 0.7888 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.3272, allocations: 7.922 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3272, allocations: 7.938 kB / 0.7888 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.3273, allocations: 99.22 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3273, allocations: 0 / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003012/0.3276, allocations: 23.98 kB / 0.7889 GB, free: 7.289 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.0002235/0.3278, allocations: 110.3 kB / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004513/0.3283, allocations: 183.5 kB / 0.7892 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3283, allocations: 4.062 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3284, allocations: 39.91 kB / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.3288, allocations: 11.98 kB / 0.7892 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.3293, allocations: 190.3 kB / 0.7894 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.3296, allocations: 0.6914 MB / 0.7901 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.3297, allocations: 4 kB / 0.7901 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.3297, allocations: 11.44 kB / 0.7901 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.3297, allocations: 0 / 0.7901 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of Templates: time 0.004772/0.3345, allocations: 1.391 MB / 0.7915 GB, free: 4.605 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)