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.001566/0.001566, allocations: 105.9 kB / 16.36 MB, free: 6.305 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.001608/0.001608, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.313/1.313, 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.75/1.75, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001429/0.001429, allocations: 71.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.248, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002112/0.2502, allocations: 0.7628 MB / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2518, allocations: 1.25 MB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.2519, allocations: 0 / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.388e-05/0.2519, allocations: 15.86 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/0.252, allocations: 11.88 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.2528, allocations: 253.9 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.2531, allocations: 263.5 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2532, allocations: 20.22 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2533, allocations: 99.8 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.2534, allocations: 99.73 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.2535, allocations: 24 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.649e-05/0.2536, allocations: 35.98 kB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.2536, allocations: 35.89 kB / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.2538, allocations: 95.72 kB / 0.7877 GB, free: 176 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4233/0.677, allocations: 216.2 kB / 0.7879 GB, free: 47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.6771, allocations: 0 / 0.7879 GB, free: 47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.484e-06/0.6771, allocations: 3 kB / 0.7879 GB, free: 47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.6771, allocations: 0 / 0.7879 GB, free: 47 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.0008396/0.678, allocations: 0.4901 MB / 0.7884 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.678, allocations: 13.06 kB / 0.7884 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.384e-05/0.6781, allocations: 19.69 kB / 0.7884 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.6787, allocations: 251.6 kB / 0.7886 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.6787, allocations: 11.5 kB / 0.7886 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.6788, allocations: 22.44 kB / 0.7887 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.679, allocations: 129.9 kB / 0.7888 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.679, allocations: 5.719 kB / 0.7888 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.6791, allocations: 6.562 kB / 0.7888 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6791, allocations: 2.625 kB / 0.7888 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.6792, allocations: 59.55 kB / 0.7889 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.6799, allocations: 0.5167 MB / 0.7894 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.6802, allocations: 162.3 kB / 0.7895 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.6803, allocations: 66.8 kB / 0.7896 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.6803, allocations: 2.625 kB / 0.7896 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.6806, allocations: 201.1 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.6806, allocations: 0.9375 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.0005332/0.6812, allocations: 318.1 kB / 0.7901 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.6812, allocations: 85.16 kB / 0.7902 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.6813, allocations: 127.9 kB / 0.7903 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.6814, allocations: 43.77 kB / 0.7903 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.6814, allocations: 104.1 kB / 0.7904 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.6815, allocations: 49.2 kB / 0.7905 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.6816, allocations: 80.09 kB / 0.7905 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.6817, allocations: 323.1 kB / 0.7909 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.6818, allocations: 82.27 kB / 0.7909 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.682, allocations: 156.5 kB / 0.7911 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.6823, allocations: 247.8 kB / 0.7913 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6823, allocations: 0 / 0.7913 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005001/0.6828, allocations: 362.7 kB / 0.7917 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.6829, allocations: 65.8 kB / 0.7917 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6829, allocations: 0 / 0.7917 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.6829, allocations: 9.188 kB / 0.7917 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.683, allocations: 21.41 kB / 0.7918 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.683, allocations: 6.188 kB / 0.7918 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.6834, allocations: 70.55 kB / 0.7918 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.6834, allocations: 17.64 kB / 0.7918 GB, free: 44.75 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.0001137/0.6836, allocations: 139.8 kB / 0.792 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.6836, allocations: 15.17 kB / 0.792 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.6836, allocations: 15.41 kB / 0.792 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.6837, allocations: 5 kB / 0.792 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.6837, allocations: 8.531 kB / 0.792 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6837, allocations: 3.469 kB / 0.792 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.6842, allocations: 0.6105 MB / 0.7926 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.6842, allocations: 0 / 0.7926 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.6842, allocations: 9.5 kB / 0.7926 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6843, allocations: 6.562 kB / 0.7926 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.6843, allocations: 13.27 kB / 0.7927 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6843, allocations: 3.281 kB / 0.7927 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6843, allocations: 2.625 kB / 0.7927 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.6846, allocations: 425.6 kB / 0.7931 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.6847, allocations: 84.3 kB / 0.7931 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.6847, allocations: 13.39 kB / 0.7932 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.6849, allocations: 16.83 kB / 0.7932 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.6849, allocations: 25.61 kB / 0.7932 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.685, allocations: 17.56 kB / 0.7932 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.685, allocations: 95.27 kB / 0.7933 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.685, allocations: 0 / 0.7933 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003479/0.6854, allocations: 51.31 kB / 0.7934 GB, free: 43.87 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.0001823/0.6856, allocations: 117.2 kB / 0.7935 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004299/0.686, allocations: 348.6 kB / 0.7938 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.686, allocations: 0 / 0.7938 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.6862, allocations: 122.7 kB / 0.7939 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.6866, allocations: 31.59 kB / 0.7939 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.6871, allocations: 309 kB / 0.7942 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.6872, allocations: 0.7025 MB / 0.7949 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.6873, allocations: 23.38 kB / 0.7949 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6873, allocations: 0 / 0.7949 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.004017/0.6913, allocations: 2.247 MB / 0.7971 GB, free: 42.63 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)