Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.0007712/0.0007715, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005135/0.005136, allocations: 168.9 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 13.56 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3465, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002275/0.3489, allocations: 1.503 MB / 1.076 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.3504, allocations: 0.7832 MB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.3506, allocations: 4 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.3508, allocations: 15.86 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.3509, allocations: 27.77 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.3521, allocations: 354.3 kB / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.3527, allocations: 395.1 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.3529, allocations: 64.06 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.3532, allocations: 143.6 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.3534, allocations: 127.5 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.38e-05/0.3535, allocations: 16 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3536, allocations: 39.98 kB / 1.078 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.3537, allocations: 47.81 kB / 1.078 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.3539, allocations: 173 kB / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.3543, allocations: 363.1 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3543, allocations: 0 / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3543, allocations: 0 / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.3543, allocations: 0 / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008622/0.3552, allocations: 0.5537 MB / 1.079 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3553, allocations: 8.031 kB / 1.079 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.3554, allocations: 44.58 kB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008501/0.3562, allocations: 313.1 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.3563, allocations: 24.64 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.3564, allocations: 40.36 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.3567, allocations: 180.7 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3567, allocations: 3.938 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.3568, allocations: 11.98 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3568, allocations: 4 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.357, allocations: 108.2 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009922/0.358, allocations: 0.6013 MB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.3583, allocations: 202.5 kB / 1.08 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.3584, allocations: 86.31 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.3585, allocations: 4 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003829/0.3588, allocations: 250.9 kB / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=36): time 1.693e-06/0.3589, allocations: 0 / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36): time 0.000701/0.3596, allocations: 411 kB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.3596, allocations: 67.38 kB / 1.081 GB, free: 424 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.3598, allocations: 191 kB / 1.081 GB, free: 220 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.3599, allocations: 45.7 kB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.36, allocations: 132.7 kB / 1.081 GB, free: 28 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/0.3601, allocations: 83.5 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.396e-05/0.3602, allocations: 69.67 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3603, allocations: 338.8 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.3606, allocations: 153 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.361, allocations: 271.2 kB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.3615, allocations: 419.1 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.3615, allocations: 0 / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009125/0.3624, allocations: 0.5955 MB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.3625, allocations: 97.09 kB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.3625, allocations: 7.984 kB / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3626, allocations: 4 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3627, allocations: 43.92 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.3627, allocations: 8.312 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/0.3633, allocations: 135.7 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.3634, allocations: 35.92 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 (accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer.yAcc,$PRE.accuTimer.yAcc,resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.y,$whenCondition3,pre.y,$PRE.pre.u,$whenCondition9,con.y,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,booPul2.y,$PRE.booPul2.y,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,$whenCondition7,$whenCondition8,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul.y,$PRE.booPul.y,pre.u,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001945/0.3636, allocations: 182.9 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.3636, allocations: 23.72 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.3637, allocations: 26.64 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3637, allocations: 4 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3637, allocations: 0 / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3637, allocations: 0 / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/0.3646, allocations: 0.7088 MB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3646, allocations: 8 kB / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.3647, allocations: 11.98 kB / 1.084 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3647, allocations: 0 / 1.084 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3647, allocations: 11.98 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3647, allocations: 7.938 kB / 1.084 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3647, allocations: 0 / 1.084 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.3652, allocations: 419 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.3653, allocations: 100.8 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.3653, allocations: 19.92 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3655, allocations: 7.984 kB / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.3655, allocations: 27.95 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.3656, allocations: 16 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.327e-05/0.3657, allocations: 125.2 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3657, allocations: 0 / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003956/0.3661, allocations: 99.84 kB / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001822/0.3663, allocations: 133.4 kB / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007172/0.367, allocations: 0.5341 MB / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.367, allocations: 0 / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.3672, allocations: 139.8 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.3676, allocations: 44.7 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007186/0.3683, allocations: 489.3 kB / 1.086 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3686, allocations: 0.7413 MB / 1.087 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.3687, allocations: 38.95 kB / 1.087 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.3688, allocations: 27.62 kB / 1.087 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3688, allocations: 0 / 1.087 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of Templates: time 0.007725/0.3765, allocations: 3.578 MB / 1.091 GB, free: 5.977 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)