Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 292.3 MB / 308.1 MB, free: 4.246 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.001609/0.001608, allocations: 178.3 kB / 376.9 MB, free: 1.844 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.939/1.939, allocations: 205 MB / 0.6353 GB, free: 9.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 96.14 kB / 0.748 GB, free: 60.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2988, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.002506/0.3014, allocations: 0.8952 MB / 0.9831 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3035, allocations: 1.363 MB / 0.9844 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.3037, allocations: 0 / 0.9844 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.081e-05/0.3037, allocations: 7.922 kB / 0.9844 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.3039, allocations: 23.84 kB / 0.9845 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009136/0.3048, allocations: 267.5 kB / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.3053, allocations: 343.4 kB / 0.9851 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.3054, allocations: 33.11 kB / 0.9851 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.3057, allocations: 135.7 kB / 0.9852 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.3059, allocations: 135.6 kB / 0.9853 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.581e-05/0.3061, allocations: 20 kB / 0.9854 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3062, allocations: 35.98 kB / 0.9854 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.683e-05/0.3063, allocations: 59.86 kB / 0.9855 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.3065, allocations: 139.6 kB / 0.9856 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.3069, allocations: 315.4 kB / 0.9859 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3069, allocations: 0 / 0.9859 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3069, allocations: 0 / 0.9859 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.307, allocations: 0 / 0.9859 GB, free: 6.629 MB / 0.7136 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.001361/0.3083, allocations: 0.6201 MB / 0.9865 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.3084, allocations: 8.031 kB / 0.9865 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.3085, allocations: 28.75 kB / 0.9865 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008686/0.3094, allocations: 308.6 kB / 0.9868 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/0.3095, allocations: 20.59 kB / 0.9868 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3096, allocations: 48.34 kB / 0.9869 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.3101, allocations: 251.4 kB / 0.9871 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3101, allocations: 0 / 0.9871 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3101, allocations: 15.98 kB / 0.9871 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3101, allocations: 7.938 kB / 0.9872 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.3104, allocations: 128.6 kB / 0.9873 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3114, allocations: 0.6015 MB / 0.9879 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005979/0.312, allocations: 423.5 kB / 0.9883 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.3123, allocations: 181.4 kB / 0.9884 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.3123, allocations: 4 kB / 0.9884 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006736/0.313, allocations: 358.8 kB / 0.9888 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=44): time 2.365e-06/0.313, allocations: 0 / 0.9888 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=44): time 0.001047/0.3141, allocations: 0.6534 MB / 0.9894 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.3142, allocations: 75.36 kB / 0.9895 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3143, allocations: 148.2 kB / 0.9896 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-05/0.3144, allocations: 53.69 kB / 0.9897 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.3145, allocations: 105 kB / 0.9898 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/0.3146, allocations: 102.7 kB / 0.9899 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.3148, allocations: 122.2 kB / 0.99 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.315, allocations: 346.7 kB / 0.9903 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.3152, allocations: 141.1 kB / 0.9905 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.3157, allocations: 300.1 kB / 0.9908 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.3162, allocations: 463 kB / 0.9912 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.3163, allocations: 0 / 0.9912 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009342/0.3172, allocations: 0.561 MB / 0.9917 GB, free: 228 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.3173, allocations: 75.52 kB / 0.9918 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.3173, allocations: 4 kB / 0.9918 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.3173, allocations: 8 kB / 0.9918 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3175, allocations: 47.84 kB / 0.9919 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.3175, allocations: 11.88 kB / 0.9919 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.318, allocations: 99.56 kB / 0.992 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.3181, allocations: 32 kB / 0.992 GB, free: 15.93 MB / 0.7292 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,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.3183, allocations: 182.8 kB / 0.9922 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.3184, allocations: 27.8 kB / 0.9922 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.618e-05/0.3185, allocations: 26.31 kB / 0.9922 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3185, allocations: 4 kB / 0.9922 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.3185, allocations: 7.938 kB / 0.9922 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3185, allocations: 0 / 0.9922 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.3201, allocations: 1.011 MB / 0.9932 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3201, allocations: 0 / 0.9932 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.3202, allocations: 15.92 kB / 0.9932 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.3202, allocations: 7.938 kB / 0.9933 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.3202, allocations: 15.97 kB / 0.9933 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3202, allocations: 4 kB / 0.9933 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3202, allocations: 4 kB / 0.9933 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.3217, allocations: 1.365 MB / 0.9946 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.3218, allocations: 100.8 kB / 0.9947 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/0.3219, allocations: 28.03 kB / 0.9947 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.3222, allocations: 27.97 kB / 0.9948 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3223, allocations: 43.92 kB / 0.9948 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.3223, allocations: 39.91 kB / 0.9948 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.071e-05/0.3224, allocations: 105.4 kB / 0.9949 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.3224, allocations: 0 / 0.9949 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006521/0.3231, allocations: 99.98 kB / 0.995 GB, free: 12.7 MB / 0.7292 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 (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.0002519/0.3234, allocations: 149.8 kB / 0.9952 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008099/0.3242, allocations: 0.5451 MB / 0.9957 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3242, allocations: 0 / 0.9957 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.3246, allocations: 295.8 kB / 0.996 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.325, allocations: 45.14 kB / 0.996 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3261, allocations: 0.7125 MB / 0.9967 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3265, allocations: 0.7452 MB / 0.9975 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.3266, allocations: 30.97 kB / 0.9975 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.3268, allocations: 35.42 kB / 0.9975 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.3268, allocations: 0 / 0.9975 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.008296/0.3351, allocations: 4.197 MB / 1.002 GB, free: 5.871 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)