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.001438/0.001438, allocations: 102.8 kB / 16.27 MB, free: 6.418 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.001592/0.001592, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.466/1.466, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.864/1.864, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001468/0.001468, allocations: 67.91 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.274, allocations: 114.5 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002277/0.2764, allocations: 0.7596 MB / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.2781, allocations: 1.254 MB / 0.786 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.2782, allocations: 0 / 0.786 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.73e-05/0.2783, allocations: 3.938 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.039e-05/0.2784, allocations: 27.78 kB / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.2791, allocations: 237.5 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.2794, allocations: 263.5 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2795, allocations: 16.22 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2796, allocations: 103.8 kB / 0.7866 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.2798, allocations: 83.75 kB / 0.7867 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.2798, allocations: 20 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.34e-05/0.2799, allocations: 40 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.28, allocations: 31.91 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.2801, allocations: 95.73 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.2804, allocations: 223.7 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2804, allocations: 0 / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2804, allocations: 0 / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2804, allocations: 4 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 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.0007927/0.2812, allocations: 0.4906 MB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2813, allocations: 12.02 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.2814, allocations: 16.84 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4332/0.7146, allocations: 248.5 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.7147, allocations: 14.28 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.7148, allocations: 23.41 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.715, allocations: 128.6 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.715, allocations: 0.8438 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.7151, allocations: 6.062 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.7151, allocations: 7.891 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.7152, allocations: 62.58 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/0.7159, allocations: 0.505 MB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.7162, allocations: 159.2 kB / 0.7887 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.7163, allocations: 74.86 kB / 0.7888 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.7163, allocations: 7.578 kB / 0.7888 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/0.7167, allocations: 211 kB / 0.789 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.7167, allocations: 0 / 0.789 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.0005277/0.7172, allocations: 310.8 kB / 0.7893 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.7173, allocations: 89.58 kB / 0.7894 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.7174, allocations: 135.3 kB / 0.7895 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.7174, allocations: 37.52 kB / 0.7896 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.7175, allocations: 98.2 kB / 0.7896 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.7175, allocations: 50.95 kB / 0.7897 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.7176, allocations: 74.05 kB / 0.7898 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.539e-05/0.7177, allocations: 326.6 kB / 0.7901 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.7179, allocations: 91.67 kB / 0.7902 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.7181, allocations: 145.7 kB / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.7183, allocations: 248.4 kB / 0.7905 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7183, allocations: 0 / 0.7905 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004885/0.7188, allocations: 358.5 kB / 0.7909 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.7189, allocations: 71.5 kB / 0.791 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.7189, allocations: 6.125 kB / 0.791 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.7189, allocations: 2.625 kB / 0.791 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.719, allocations: 18.52 kB / 0.791 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.719, allocations: 2.406 kB / 0.791 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.7194, allocations: 66.45 kB / 0.791 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.7194, allocations: 22.62 kB / 0.7911 GB, free: 47.16 MB / 0.6544 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.0001254/0.7196, allocations: 144.8 kB / 0.7912 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.7196, allocations: 15.23 kB / 0.7912 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.7197, allocations: 18.72 kB / 0.7912 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.7197, allocations: 3.5 kB / 0.7912 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.7197, allocations: 0.625 kB / 0.7912 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.7197, allocations: 4.453 kB / 0.7912 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.7202, allocations: 0.6197 MB / 0.7919 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7203, allocations: 2.625 kB / 0.7919 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.7203, allocations: 8.531 kB / 0.7919 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.7203, allocations: 3.188 kB / 0.7919 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.7203, allocations: 10.56 kB / 0.7919 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.7204, allocations: 5.25 kB / 0.7919 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7204, allocations: 3.125 kB / 0.7919 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.7207, allocations: 420.7 kB / 0.7923 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.7208, allocations: 90.17 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.7208, allocations: 7.672 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.7209, allocations: 12.11 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.721, allocations: 33.25 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.721, allocations: 16.12 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.588e-05/0.7211, allocations: 95.61 kB / 0.7925 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7211, allocations: 0 / 0.7925 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003467/0.7215, allocations: 55.67 kB / 0.7926 GB, free: 46.27 MB / 0.6544 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.0002149/0.7217, allocations: 128.1 kB / 0.7927 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.7222, allocations: 356.2 kB / 0.793 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7222, allocations: 0 / 0.793 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.7223, allocations: 126 kB / 0.7932 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.7227, allocations: 30.44 kB / 0.7932 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.7232, allocations: 298 kB / 0.7935 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.7234, allocations: 0.7038 MB / 0.7942 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.7235, allocations: 23.92 kB / 0.7942 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.7235, allocations: 2.656 kB / 0.7942 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.004078/0.7276, allocations: 2.246 MB / 0.7964 GB, free: 45.05 MB / 0.6544 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)