Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001433/0.001433, allocations: 187.9 kB / 16.25 MB, free: 6.617 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.607/1.607, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.782/1.782, 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.001355/0.001355, allocations: 73.06 kB / 0.671 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2994, allocations: 114.6 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002792/0.3022, allocations: 0.8135 MB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.3043, allocations: 1.247 MB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.3044, allocations: 4 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.556e-05/0.3045, allocations: 3.938 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.3047, allocations: 19.84 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.3055, allocations: 224.1 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.3058, allocations: 263.6 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.306, allocations: 20.16 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.3062, allocations: 99.81 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3063, allocations: 87.69 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.3064, allocations: 24 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3065, allocations: 39.98 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.3065, allocations: 27.95 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3067, allocations: 95.69 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.307, allocations: 219.7 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3071, allocations: 4 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3071, allocations: 0 / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.3071, allocations: 0 / 0.786 GB, free: 10.67 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009321/0.308, allocations: 0.4946 MB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3081, allocations: 8.031 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3082, allocations: 16.84 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.3089, allocations: 258.9 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.3089, allocations: 16.38 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.309, allocations: 24.36 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.3093, allocations: 127.9 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3093, allocations: 3.938 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.3093, allocations: 7.984 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3093, allocations: 0 / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3095, allocations: 63.89 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3105, allocations: 0.5124 MB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.3108, allocations: 165.1 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3109, allocations: 61.69 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.311, allocations: 3.984 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.3114, allocations: 209.7 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.3114, allocations: 0 / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0006065/0.312, allocations: 313.3 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.3121, allocations: 89.41 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3123, allocations: 133.4 kB / 0.7884 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.3123, allocations: 37.64 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.3124, allocations: 100.6 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.3125, allocations: 55.28 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.3126, allocations: 81.67 kB / 0.7886 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3127, allocations: 326.8 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.3129, allocations: 80.23 kB / 0.789 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.3131, allocations: 152.2 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.3135, allocations: 247 kB / 0.7894 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3135, allocations: 4 kB / 0.7894 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005656/0.314, allocations: 356.6 kB / 0.7898 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/0.3141, allocations: 70.05 kB / 0.7898 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3141, allocations: 0 / 0.7898 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3142, allocations: 4 kB / 0.7898 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.3143, allocations: 23.92 kB / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3143, allocations: 7.938 kB / 0.7899 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.3146, allocations: 71.91 kB / 0.7899 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.3147, allocations: 19.98 kB / 0.7899 GB, free: 6.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001598/0.3149, allocations: 140.7 kB / 0.7901 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.3149, allocations: 11.91 kB / 0.7901 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.3149, allocations: 20.5 kB / 0.7901 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.315, allocations: 0 / 0.7901 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.315, allocations: 7.938 kB / 0.7901 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.315, allocations: 3.984 kB / 0.7901 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/0.3157, allocations: 0.6221 MB / 0.7907 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3158, allocations: 0 / 0.7907 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.3158, allocations: 7.984 kB / 0.7907 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.3158, allocations: 11.94 kB / 0.7908 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.3159, allocations: 7.938 kB / 0.7908 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3159, allocations: 4 kB / 0.7908 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3159, allocations: 3.984 kB / 0.7908 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.3164, allocations: 421.2 kB / 0.7912 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.3165, allocations: 88.95 kB / 0.7913 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.3165, allocations: 11.92 kB / 0.7913 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.3167, allocations: 15.98 kB / 0.7913 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.3167, allocations: 23.97 kB / 0.7913 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3168, allocations: 15.98 kB / 0.7913 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.665e-05/0.3168, allocations: 95.27 kB / 0.7914 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3169, allocations: 0 / 0.7914 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003882/0.3172, allocations: 55.98 kB / 0.7915 GB, free: 4.582 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002237/0.3175, allocations: 122.9 kB / 0.7916 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.318, allocations: 354.5 kB / 0.7919 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3181, allocations: 4 kB / 0.7919 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.3182, allocations: 111.9 kB / 0.792 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.3186, allocations: 34.16 kB / 0.7921 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.3192, allocations: 304.7 kB / 0.7924 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3195, allocations: 0.7086 MB / 0.793 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.191e-05/0.3196, allocations: 13.55 kB / 0.7931 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.3197, allocations: 19.44 kB / 0.7931 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3197, allocations: 0 / 0.7931 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of Templates: time 0.006363/0.326, allocations: 2.612 MB / 0.7956 GB, free: 256 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)