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.0008726/0.0008726, allocations: 92 kB / 15.36 MB, free: 0.7383 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.00745/0.00745, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.93/1.93, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.773/1.773, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005353/0.0005353, allocations: 16.56 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3118, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001134/0.3129, allocations: 489.9 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3148, allocations: 1.274 MB / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.3149, allocations: 0 / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.3149, allocations: 3.938 kB / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.315, allocations: 11.91 kB / 0.7896 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.3157, allocations: 236.4 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.316, allocations: 227.5 kB / 0.7901 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3161, allocations: 16.22 kB / 0.7901 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.3163, allocations: 83.86 kB / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3164, allocations: 79.7 kB / 0.7902 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.3165, allocations: 12 kB / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.3166, allocations: 31.92 kB / 0.7903 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.3166, allocations: 27.95 kB / 0.7903 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.3168, allocations: 109.4 kB / 0.7904 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.3171, allocations: 215.6 kB / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3171, allocations: 0 / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.756e-06/0.3171, allocations: 0 / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3171, allocations: 0 / 0.7906 GB, free: 8.77 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.0008329/0.318, allocations: 458.6 kB / 0.791 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.318, allocations: 12.03 kB / 0.7911 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.008e-05/0.3181, allocations: 20.83 kB / 0.7911 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.3188, allocations: 259.1 kB / 0.7913 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.3188, allocations: 16.36 kB / 0.7913 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.3189, allocations: 24.38 kB / 0.7914 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.3192, allocations: 135.8 kB / 0.7915 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3192, allocations: 3.938 kB / 0.7915 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3193, allocations: 4 kB / 0.7915 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3193, allocations: 0 / 0.7915 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3194, allocations: 59.95 kB / 0.7916 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009779/0.3204, allocations: 0.5279 MB / 0.7921 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.3207, allocations: 165.2 kB / 0.7922 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/0.3208, allocations: 61.69 kB / 0.7923 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.3208, allocations: 0 / 0.7923 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003803/0.3212, allocations: 211.2 kB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.3212, allocations: 0 / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005831/0.3218, allocations: 313.3 kB / 0.7928 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.3219, allocations: 89.19 kB / 0.7929 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.322, allocations: 137.2 kB / 0.793 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.3221, allocations: 37.7 kB / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.3222, allocations: 100.7 kB / 0.7931 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.3222, allocations: 55.28 kB / 0.7932 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/0.3223, allocations: 37.7 kB / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3225, allocations: 322.8 kB / 0.7935 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.3227, allocations: 88.23 kB / 0.7936 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.3229, allocations: 160.2 kB / 0.7938 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.3232, allocations: 247 kB / 0.794 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3232, allocations: 0 / 0.794 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005735/0.3238, allocations: 352.6 kB / 0.7943 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.3239, allocations: 67.39 kB / 0.7944 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.3239, allocations: 0 / 0.7944 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3239, allocations: 4 kB / 0.7944 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.324, allocations: 24.14 kB / 0.7944 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.324, allocations: 15.88 kB / 0.7944 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.3244, allocations: 87.78 kB / 0.7945 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.3245, allocations: 20.36 kB / 0.7945 GB, free: 4.371 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.0001489/0.3246, allocations: 144 kB / 0.7947 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.3247, allocations: 15.81 kB / 0.7947 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.277e-05/0.3248, allocations: 16.5 kB / 0.7947 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3248, allocations: 7.938 kB / 0.7947 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3248, allocations: 3.938 kB / 0.7947 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3248, allocations: 7.984 kB / 0.7947 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006612/0.3255, allocations: 0.6023 MB / 0.7953 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3255, allocations: 4 kB / 0.7953 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.3255, allocations: 7.938 kB / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3255, allocations: 7.922 kB / 0.7953 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3256, allocations: 8 kB / 0.7954 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.3256, allocations: 8 kB / 0.7954 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3256, allocations: 3.938 kB / 0.7954 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.326, allocations: 410.6 kB / 0.7958 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.3261, allocations: 96.8 kB / 0.7958 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.3261, allocations: 15.92 kB / 0.7959 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3263, allocations: 15.98 kB / 0.7959 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.3263, allocations: 27.95 kB / 0.7959 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.3264, allocations: 12 kB / 0.7959 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.74e-05/0.3264, allocations: 95.27 kB / 0.796 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3264, allocations: 0 / 0.796 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003353/0.3268, allocations: 55.98 kB / 0.7961 GB, free: 2.723 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.0002041/0.327, allocations: 119 kB / 0.7962 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.3275, allocations: 349.7 kB / 0.7965 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3275, allocations: 0 / 0.7965 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.3277, allocations: 123.9 kB / 0.7966 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3281, allocations: 34.88 kB / 0.7967 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.3287, allocations: 301.1 kB / 0.7969 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.329, allocations: 0.705 MB / 0.7976 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.369e-05/0.3291, allocations: 21.55 kB / 0.7977 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.3291, allocations: 15.44 kB / 0.7977 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.3291, allocations: 3.938 kB / 0.7977 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of Templates: time 0.006215/0.3353, allocations: 2.477 MB / 0.8001 GB, free: 14.52 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: