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.001188/0.001188, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.7 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3496, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003413/0.353, allocations: 1.794 MB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.3545, allocations: 0.7636 MB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.3548, allocations: 7.938 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.3549, allocations: 19.73 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.3551, allocations: 39.62 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.3562, allocations: 398.1 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005199/0.3568, allocations: 439.1 kB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.3569, allocations: 68.05 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.3572, allocations: 167.6 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.3574, allocations: 147.5 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.475e-05/0.3575, allocations: 36 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.3576, allocations: 51.92 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.3577, allocations: 59.83 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.3579, allocations: 163.4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.3583, allocations: 383.1 kB / 1.073 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3583, allocations: 0 / 1.073 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3583, allocations: 0 / 1.073 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.3584, allocations: 0 / 1.073 GB, free: 5.898 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.0009077/0.3593, allocations: 0.6316 MB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3593, allocations: 11.97 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.3594, allocations: 28.75 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008139/0.3602, allocations: 306.2 kB / 1.074 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.3603, allocations: 24.69 kB / 1.074 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.3604, allocations: 40.36 kB / 1.074 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.3607, allocations: 184.7 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3607, allocations: 3.938 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3608, allocations: 11.98 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3608, allocations: 4 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.361, allocations: 111.8 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.362, allocations: 0.5975 MB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.3623, allocations: 192.4 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.3624, allocations: 88.75 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.3625, allocations: 0 / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.3629, allocations: 258.8 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/0.3629, allocations: 0 / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36): time 0.0007076/0.3636, allocations: 411 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3637, allocations: 63.41 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3638, allocations: 191 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.3639, allocations: 49.7 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.364, allocations: 140.7 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.3641, allocations: 82.98 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.3643, allocations: 126.1 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3644, allocations: 342.8 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.3647, allocations: 153 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.3651, allocations: 267.3 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.3656, allocations: 427.1 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3656, allocations: 3.938 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009388/0.3666, allocations: 0.5884 MB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-05/0.3666, allocations: 93.19 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.3667, allocations: 7.938 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.3667, allocations: 8.094 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.3668, allocations: 43.84 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.3669, allocations: 11.98 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.3674, allocations: 103.8 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.3675, allocations: 31.98 kB / 1.078 GB, free: 15.94 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.0001882/0.3677, allocations: 174.9 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.3677, allocations: 27.7 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.3678, allocations: 26.66 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3678, allocations: 4 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3678, allocations: 0 / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3678, allocations: 3.984 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008803/0.3687, allocations: 0.7127 MB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3687, allocations: 0 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.3688, allocations: 19.94 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3688, allocations: 4 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.3688, allocations: 15.97 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3688, allocations: 0 / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3689, allocations: 4 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.3694, allocations: 419 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.3694, allocations: 100.7 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.3695, allocations: 11.98 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3696, allocations: 11.98 kB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.3697, allocations: 27.97 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3697, allocations: 19.98 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.991e-05/0.3698, allocations: 125.2 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3698, allocations: 0 / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004062/0.3702, allocations: 95.83 kB / 1.08 GB, free: 14.06 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.000187/0.3704, allocations: 125.4 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008278/0.3712, allocations: 0.5535 MB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3713, allocations: 0 / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.3715, allocations: 143.7 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3718, allocations: 52.83 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/0.3726, allocations: 416.9 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.3729, allocations: 0.7448 MB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.373, allocations: 43.12 kB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.3731, allocations: 27.44 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.3731, allocations: 4 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of Templates: time 0.007746/0.3808, allocations: 3.795 MB / 1.085 GB, free: 8.105 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)