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.751/1.751, allocations: 287.5 MB / 302.6 MB, free: 8.234 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.001185/0.001185, allocations: 175.1 kB / 371.2 MB, free: 10.84 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.94/1.94, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.001205/0.001206, allocations: 100.8 kB / 0.7432 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007512/0.0007513, allocations: 14.42 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.299, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.00116/0.3003, allocations: 0.5293 MB / 0.9792 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.3023, allocations: 1.316 MB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.3024, allocations: 0 / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.3025, allocations: 3.938 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.3026, allocations: 23.84 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3036, allocations: 246.1 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.304, allocations: 327.4 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3041, allocations: 33.11 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.3043, allocations: 123.8 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.3045, allocations: 127.6 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.745e-05/0.3046, allocations: 20 kB / 0.9814 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3047, allocations: 27.98 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.3048, allocations: 55.86 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.3049, allocations: 77.64 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.3052, allocations: 235.6 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3053, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3053, allocations: 3.938 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3053, allocations: 0 / 0.9818 GB, free: 25.04 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.0009728/0.3063, allocations: 0.5383 MB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3063, allocations: 8.031 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.3064, allocations: 36.67 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009719/0.3074, allocations: 308.6 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.3075, allocations: 28.58 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.627e-05/0.3076, allocations: 36.36 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.3082, allocations: 263.4 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3082, allocations: 0 / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.3082, allocations: 15.97 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3083, allocations: 4 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.3086, allocations: 124.6 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.3097, allocations: 0.6055 MB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.3105, allocations: 411.6 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.3108, allocations: 184.8 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3109, allocations: 4 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007162/0.3116, allocations: 350.8 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.816e-06/0.3116, allocations: 0 / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001466/0.3131, allocations: 0.6611 MB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.3131, allocations: 71.38 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3133, allocations: 149.6 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.3134, allocations: 49.7 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.3135, allocations: 105.9 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/0.3136, allocations: 102.7 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.3136, allocations: 16 kB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.3137, allocations: 338.8 kB / 0.986 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.3141, allocations: 141.1 kB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.3145, allocations: 296.1 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006635/0.3152, allocations: 459 kB / 0.9869 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3152, allocations: 0 / 0.9869 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00116/0.3164, allocations: 0.5578 MB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/0.3165, allocations: 73.89 kB / 0.9875 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3165, allocations: 4 kB / 0.9875 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.3166, allocations: 8 kB / 0.9875 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3168, allocations: 47.8 kB / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.3168, allocations: 7.938 kB / 0.9875 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.3175, allocations: 119.7 kB / 0.9877 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.3176, allocations: 27.98 kB / 0.9877 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.0002229/0.3178, allocations: 182.9 kB / 0.9879 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.3179, allocations: 31.8 kB / 0.9879 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.778e-05/0.318, allocations: 26.3 kB / 0.9879 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.318, allocations: 4 kB / 0.9879 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.318, allocations: 3.938 kB / 0.9879 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.318, allocations: 7.984 kB / 0.9879 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.3199, allocations: 1.007 MB / 0.9889 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3199, allocations: 3.984 kB / 0.9889 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.961e-05/0.32, allocations: 20 kB / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.32, allocations: 0 / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.3201, allocations: 19.91 kB / 0.9889 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3201, allocations: 4 kB / 0.989 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3201, allocations: 0 / 0.989 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3211, allocations: 0.6281 MB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.3212, allocations: 96.86 kB / 0.9897 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/0.3213, allocations: 27.97 kB / 0.9897 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.3216, allocations: 27.97 kB / 0.9897 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3217, allocations: 43.86 kB / 0.9898 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.3218, allocations: 35.97 kB / 0.9898 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.315e-05/0.3219, allocations: 103.3 kB / 0.9899 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3219, allocations: 4 kB / 0.9899 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006363/0.3225, allocations: 99.98 kB / 0.99 GB, free: 16.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002761/0.3228, allocations: 141.8 kB / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.3239, allocations: 0.5423 MB / 0.9907 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3239, allocations: 0 / 0.9907 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004721/0.3244, allocations: 300.1 kB / 0.9909 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.325, allocations: 50.06 kB / 0.991 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.326, allocations: 498.2 kB / 0.9915 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.3262, allocations: 0.7335 MB / 0.9922 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.3263, allocations: 30.97 kB / 0.9922 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/0.3265, allocations: 31.42 kB / 0.9922 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.3265, allocations: 4 kB / 0.9922 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.01019/0.3367, allocations: 3.736 MB / 0.9959 GB, free: 9.984 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)