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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 292.3 MB / 308.1 MB, free: 4.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001375/0.001375, allocations: 192.1 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 97.52 kB / 0.748 GB, free: 61.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 59.91 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2979, allocations: 114.6 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002352/0.3004, allocations: 0.8097 MB / 0.983 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3021, allocations: 1.16 MB / 0.9842 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.3021, allocations: 0 / 0.9842 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.058e-05/0.3022, allocations: 3.938 kB / 0.9842 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.022e-05/0.3023, allocations: 7.922 kB / 0.9842 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.3028, allocations: 123.8 kB / 0.9843 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.303, allocations: 107.8 kB / 0.9844 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.3031, allocations: 12 kB / 0.9844 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3032, allocations: 43.89 kB / 0.9845 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.3033, allocations: 39.83 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.3033, allocations: 8 kB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.41e-05/0.3034, allocations: 15.98 kB / 0.9845 GB, free: 8 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.3034, allocations: 15.98 kB / 0.9845 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.3035, allocations: 47.77 kB / 0.9846 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.3037, allocations: 103.7 kB / 0.9847 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3037, allocations: 0 / 0.9847 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3037, allocations: 0 / 0.9847 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.3037, allocations: 0 / 0.9847 GB, free: 7.836 MB / 0.7136 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.0005685/0.3043, allocations: 417.2 kB / 0.9851 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3043, allocations: 8.031 kB / 0.9851 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.3044, allocations: 12.83 kB / 0.9851 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3045, allocations: 172.3 kB / 0.9853 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.3045, allocations: 8.312 kB / 0.9853 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.3046, allocations: 12.38 kB / 0.9853 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3048, allocations: 66.22 kB / 0.9853 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3048, allocations: 4.172 kB / 0.9853 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3048, allocations: 7.875 kB / 0.9854 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3048, allocations: 0 / 0.9854 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.305, allocations: 55.88 kB / 0.9854 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.3055, allocations: 332.7 kB / 0.9857 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.3058, allocations: 62.55 kB / 0.9858 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3059, allocations: 40.95 kB / 0.9858 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3059, allocations: 0 / 0.9858 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.3062, allocations: 87.27 kB / 0.9859 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.3062, allocations: 4 kB / 0.9859 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004469/0.3066, allocations: 145.6 kB / 0.986 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3067, allocations: 51.41 kB / 0.9861 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.3068, allocations: 129.7 kB / 0.9862 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3068, allocations: 29.7 kB / 0.9862 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.3069, allocations: 88.14 kB / 0.9863 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.3069, allocations: 11.81 kB / 0.9863 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/0.307, allocations: 41.69 kB / 0.9864 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.307, allocations: 322.8 kB / 0.9867 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3072, allocations: 55.95 kB / 0.9867 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.3074, allocations: 84.25 kB / 0.9868 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.3076, allocations: 137.9 kB / 0.987 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3076, allocations: 0 / 0.987 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004115/0.3081, allocations: 215.1 kB / 0.9872 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.3081, allocations: 37.81 kB / 0.9872 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3081, allocations: 4 kB / 0.9872 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.3082, allocations: 4 kB / 0.9872 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.3083, allocations: 15.98 kB / 0.9872 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3083, allocations: 3.938 kB / 0.9872 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.3085, allocations: 35.81 kB / 0.9873 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.3085, allocations: 15.92 kB / 0.9873 GB, free: 4.891 MB / 0.7136 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.455e-05/0.3086, allocations: 133.8 kB / 0.9874 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.3086, allocations: 0 / 0.9874 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.3087, allocations: 12.38 kB / 0.9874 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3087, allocations: 0 / 0.9874 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3087, allocations: 3.984 kB / 0.9874 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3087, allocations: 0 / 0.9874 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.3092, allocations: 386.3 kB / 0.9878 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3092, allocations: 3.938 kB / 0.9878 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.3093, allocations: 4 kB / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3093, allocations: 0 / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3093, allocations: 7.984 kB / 0.9878 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3093, allocations: 0 / 0.9878 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3093, allocations: 0 / 0.9878 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.3099, allocations: 0.7824 MB / 0.9886 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.31, allocations: 88.95 kB / 0.9886 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.31, allocations: 7.984 kB / 0.9887 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.3101, allocations: 4 kB / 0.9887 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.3102, allocations: 8.047 kB / 0.9887 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3102, allocations: 4 kB / 0.9887 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.167e-05/0.3102, allocations: 103.8 kB / 0.9888 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3103, allocations: 0 / 0.9888 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003915/0.3107, allocations: 24 kB / 0.9888 GB, free: 3.188 MB / 0.7136 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.0001624/0.3108, allocations: 111.2 kB / 0.9889 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.3112, allocations: 171.3 kB / 0.9891 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3112, allocations: 256 / 0.9891 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3114, allocations: 48.42 kB / 0.9891 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.3116, allocations: 19.92 kB / 0.9891 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.312, allocations: 303 kB / 0.9894 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.3123, allocations: 0.6926 MB / 0.9901 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.3123, allocations: 4 kB / 0.9901 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.3124, allocations: 15.42 kB / 0.9901 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.3124, allocations: 0 / 0.9901 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of Templates: time 0.003559/0.3159, allocations: 1.385 MB / 0.9915 GB, free: 392 kB / 0.7136 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)