Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.777/1.777, allocations: 287.4 MB / 303.2 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 189.1 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 0.6305 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 99.66 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004154, allocations: 12.69 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2833, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.001025/0.2844, allocations: 0.5254 MB / 0.9798 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2861, allocations: 1.316 MB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.2862, allocations: 4 kB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.2862, allocations: 7.922 kB / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.2864, allocations: 15.84 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.2872, allocations: 257.9 kB / 0.9814 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.2876, allocations: 319.4 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2877, allocations: 37.11 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.2879, allocations: 127.8 kB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.2881, allocations: 127.6 kB / 0.982 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.2882, allocations: 16 kB / 0.982 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.2883, allocations: 35.98 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.2883, allocations: 47.88 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.2885, allocations: 81.61 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.2887, allocations: 239.6 kB / 0.9824 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2887, allocations: 11.94 kB / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2887, allocations: 0 / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2887, allocations: 0 / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008562/0.2896, allocations: 0.5305 MB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.2897, allocations: 8.031 kB / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.2898, allocations: 40.67 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007177/0.2905, allocations: 304.6 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.2906, allocations: 24.58 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.2906, allocations: 44.36 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.291, allocations: 255.4 kB / 0.9835 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.291, allocations: 0 / 0.9835 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.2911, allocations: 11.98 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2911, allocations: 4 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.2913, allocations: 120.6 kB / 0.9837 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008492/0.2922, allocations: 0.6055 MB / 0.9843 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.2927, allocations: 427.5 kB / 0.9847 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.2929, allocations: 176.8 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.2929, allocations: 0 / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/0.2934, allocations: 358.9 kB / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.2934, allocations: 0 / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0009101/0.2943, allocations: 0.6572 MB / 0.9858 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.2944, allocations: 67.39 kB / 0.9859 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.2945, allocations: 147.5 kB / 0.986 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.2946, allocations: 53.69 kB / 0.9861 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.2946, allocations: 113.8 kB / 0.9862 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.2947, allocations: 102.8 kB / 0.9863 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.2947, allocations: 12 kB / 0.9863 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.2948, allocations: 342.8 kB / 0.9866 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.2951, allocations: 137.1 kB / 0.9867 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.2954, allocations: 300.1 kB / 0.987 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.2959, allocations: 455.1 kB / 0.9875 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.2959, allocations: 0 / 0.9875 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008629/0.2968, allocations: 0.5618 MB / 0.988 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.2969, allocations: 59.41 kB / 0.9881 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.2969, allocations: 8 kB / 0.9881 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2969, allocations: 7.984 kB / 0.9881 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.2971, allocations: 43.86 kB / 0.9881 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.2971, allocations: 11.94 kB / 0.9881 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.2975, allocations: 119.5 kB / 0.9883 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.2976, allocations: 35.98 kB / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition12,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y,con.y,$whenCondition4,noThr.reset,$whenCondition8,thrTim.reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.2977, allocations: 178.9 kB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.2978, allocations: 27.8 kB / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.2978, allocations: 26.31 kB / 0.9885 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2979, allocations: 3.984 kB / 0.9885 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2979, allocations: 0 / 0.9885 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.2979, allocations: 104.7 kB / 0.9886 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.395e-05/0.298, allocations: 19.98 kB / 0.9886 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.2981, allocations: 35.95 kB / 0.9887 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.2982, allocations: 47.88 kB / 0.9887 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000722/0.2989, allocations: 0.6309 MB / 0.9893 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000663/0.2996, allocations: 0.7212 MB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002739/0.2999, allocations: 271.9 kB / 0.9903 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.832e-05/0.3, allocations: 109.7 kB / 0.9904 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of Backend: time 1.593e-06/0.3, allocations: 4 kB / 0.9904 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008663/0.3008, allocations: 0.5002 MB / 0.9909 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006745/0.3015, allocations: 0.7879 MB / 0.9917 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.007058/0.3086, allocations: 3.807 MB / 0.9954 GB, free: 11.18 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)