Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 105.4 kB / 15.7 MB, free: 24 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.001243/0.001243, allocations: 200.2 kB / 16.64 MB, free: 6.453 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.386/1.386, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.707/1.707, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.002724/0.002725, allocations: 69.31 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2972, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003216/0.3005, allocations: 1.43 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008843/0.3014, allocations: 479.8 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.3015, allocations: 0 / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.3016, allocations: 3.938 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.219e-05/0.3017, allocations: 3.938 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.3018, allocations: 15.92 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.302, allocations: 55.78 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3021, allocations: 12 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.3022, allocations: 23.91 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.3023, allocations: 19.92 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.3023, allocations: 4 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.3023, allocations: 4 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.3023, allocations: 11.92 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.3024, allocations: 19.88 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3025, allocations: 43.81 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3025, allocations: 4 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3025, allocations: 4 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.3026, allocations: 0 / 0.7862 GB, free: 10.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006621/0.3032, allocations: 389 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3033, allocations: 15.97 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.3033, allocations: 4.922 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3035, allocations: 172.2 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3035, allocations: 8.375 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3035, allocations: 4.375 kB / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3036, allocations: 55.05 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3037, allocations: 3.938 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3037, allocations: 4 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3037, allocations: 4 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.3038, allocations: 12 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.3042, allocations: 264.8 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.957e-05/0.3043, allocations: 46.56 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.3044, allocations: 24.97 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3044, allocations: 0 / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.3046, allocations: 109.1 kB / 0.7873 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/0.3046, allocations: 0 / 0.7873 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003017/0.3049, allocations: 139.2 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.305, allocations: 85.11 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.3051, allocations: 109.8 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3051, allocations: 29.7 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.3052, allocations: 88.12 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.3052, allocations: 23.73 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.3052, allocations: 25.7 kB / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3054, allocations: 318.8 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.3054, allocations: 15.98 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.3055, allocations: 38.86 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.3056, allocations: 113.9 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3056, allocations: 96 / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001723/0.3058, allocations: 131.2 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.3058, allocations: 33.69 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3058, allocations: 0 / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3059, allocations: 4.062 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.3059, allocations: 8 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3059, allocations: 7.875 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.306, allocations: 4 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.306, allocations: 7.984 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001155/0.3061, allocations: 157.8 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.3062, allocations: 7.906 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.3062, allocations: 4.375 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3062, allocations: 3.984 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3062, allocations: 4 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3062, allocations: 7.984 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.3066, allocations: 396.1 kB / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3067, allocations: 0 / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.3067, allocations: 4 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3067, allocations: 0 / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3067, allocations: 4 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3067, allocations: 0 / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3067, allocations: 4 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.3069, allocations: 233 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.307, allocations: 89 kB / 0.7893 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.307, allocations: 0 / 0.7893 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3071, allocations: 12 kB / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.3072, allocations: 11.92 kB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.3072, allocations: 0 / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.342e-05/0.3073, allocations: 91.81 kB / 0.7894 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3073, allocations: 4 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002373/0.3075, allocations: 12 kB / 0.7894 GB, free: 6.906 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001101/0.3076, allocations: 112.1 kB / 0.7895 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.3078, allocations: 115.6 kB / 0.7896 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3078, allocations: 0 / 0.7896 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.565e-05/0.3079, allocations: 99.31 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.3082, allocations: 14.66 kB / 0.7897 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.3086, allocations: 157.4 kB / 0.7899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3089, allocations: 0.6908 MB / 0.7905 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.3089, allocations: 4 kB / 0.7905 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.3089, allocations: 15.38 kB / 0.7906 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3089, allocations: 0 / 0.7906 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of Templates: time 0.003178/0.3121, allocations: 0.8575 MB / 0.7914 GB, free: 4.777 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)