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.001156/0.001156, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001186/0.001187, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.463/1.463, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.002272/0.002272, allocations: 76.38 kB / 0.6729 GB, free: 5.781 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2932, allocations: 114.6 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002307/0.2955, allocations: 0.7529 MB / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2973, allocations: 1.254 MB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.2974, allocations: 4 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.2974, allocations: 3.938 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2975, allocations: 27.72 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.2984, allocations: 245.7 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000297/0.2987, allocations: 267.5 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2988, allocations: 20.2 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.2989, allocations: 95.88 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.2991, allocations: 103.7 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.2992, allocations: 24 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.2993, allocations: 35.98 kB / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.2993, allocations: 27.97 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.2995, allocations: 91.73 kB / 0.7877 GB, free: 164 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4881/0.7876, allocations: 219.4 kB / 0.7879 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.7877, allocations: 0 / 0.7879 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.906e-06/0.7877, allocations: 3.5 kB / 0.7879 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.7877, allocations: 3 kB / 0.7879 GB, free: 47.02 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.0007583/0.7885, allocations: 0.4902 MB / 0.7884 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.7885, allocations: 9.125 kB / 0.7884 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.7886, allocations: 21.45 kB / 0.7884 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.7892, allocations: 252.9 kB / 0.7886 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.7893, allocations: 8.875 kB / 0.7886 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.7893, allocations: 24.41 kB / 0.7887 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.7895, allocations: 127.3 kB / 0.7888 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.7896, allocations: 7.188 kB / 0.7888 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.7896, allocations: 7.359 kB / 0.7888 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.7896, allocations: 0 / 0.7888 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.7897, allocations: 62.69 kB / 0.7889 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.7904, allocations: 0.5165 MB / 0.7894 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.7907, allocations: 157.8 kB / 0.7895 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.259e-05/0.7908, allocations: 72.41 kB / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.7908, allocations: 4.469 kB / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.7911, allocations: 201.4 kB / 0.7898 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.7911, allocations: 3.375 kB / 0.7898 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.0004633/0.7916, allocations: 313.3 kB / 0.7901 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.7916, allocations: 93.98 kB / 0.7902 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.7917, allocations: 120.8 kB / 0.7903 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.7917, allocations: 45.61 kB / 0.7903 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.7918, allocations: 101.4 kB / 0.7904 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.7918, allocations: 53.69 kB / 0.7905 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.485e-05/0.7919, allocations: 73.16 kB / 0.7905 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.792, allocations: 325.7 kB / 0.7909 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.7921, allocations: 85 kB / 0.7909 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.7923, allocations: 149.3 kB / 0.7911 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.7926, allocations: 250.8 kB / 0.7913 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7926, allocations: 2.156 kB / 0.7913 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000456/0.793, allocations: 361.1 kB / 0.7917 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.7931, allocations: 64.86 kB / 0.7917 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.7931, allocations: 5.625 kB / 0.7917 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.7931, allocations: 2.688 kB / 0.7917 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.7932, allocations: 20.59 kB / 0.7918 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.7932, allocations: 10.8 kB / 0.7918 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.7935, allocations: 69.05 kB / 0.7918 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.7936, allocations: 15.81 kB / 0.7918 GB, free: 44.78 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 9.805e-05/0.7937, allocations: 145.9 kB / 0.792 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.7937, allocations: 17.81 kB / 0.792 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.7937, allocations: 12.44 kB / 0.792 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7937, allocations: 2.406 kB / 0.792 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.7938, allocations: 9.922 kB / 0.792 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7938, allocations: 0.5 kB / 0.792 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.7942, allocations: 0.6126 MB / 0.7926 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.7942, allocations: 1.656 kB / 0.7926 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.7943, allocations: 14.23 kB / 0.7926 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.7943, allocations: 6.562 kB / 0.7926 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.7943, allocations: 9.656 kB / 0.7927 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.7943, allocations: 3.875 kB / 0.7927 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7943, allocations: 0 / 0.7927 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.7946, allocations: 427.3 kB / 0.7931 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.7946, allocations: 83.64 kB / 0.7931 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.7947, allocations: 16.27 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.7948, allocations: 6.719 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.7949, allocations: 24.25 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.7949, allocations: 16.86 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.7949, allocations: 96.88 kB / 0.7933 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.71e-07/0.7949, allocations: 4.375 kB / 0.7933 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003308/0.7953, allocations: 60.69 kB / 0.7934 GB, free: 43.89 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.0001351/0.7954, allocations: 118.7 kB / 0.7935 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.7958, allocations: 348.8 kB / 0.7938 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7958, allocations: 3.812 kB / 0.7938 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.796, allocations: 117.2 kB / 0.7939 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.7963, allocations: 29.92 kB / 0.7939 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.7967, allocations: 275.4 kB / 0.7942 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.7968, allocations: 0.7066 MB / 0.7949 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.06e-05/0.7969, allocations: 21.44 kB / 0.7949 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.7969, allocations: 20.81 kB / 0.7949 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7969, allocations: 0 / 0.7949 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.00464/0.8016, allocations: 2.673 MB / 0.7976 GB, free: 42.69 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)