Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001648/0.001648, allocations: 108 kB / 15.61 MB, free: 152 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.001653/0.001652, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.852/1.852, allocations: 251.7 MB / 0.5092 GB, free: 3.105 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 68.42 kB / 0.6223 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.8025, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003359/0.8059, allocations: 1.737 MB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.8067, allocations: 375.8 kB / 0.7266 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.8068, allocations: 7.938 kB / 0.7266 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.8069, allocations: 19.73 kB / 0.7266 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-05/0.807, allocations: 35.7 kB / 0.7266 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.8074, allocations: 103.8 kB / 0.7267 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003/0.8077, allocations: 251.3 kB / 0.727 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.8079, allocations: 69.38 kB / 0.7271 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.808, allocations: 87.77 kB / 0.7271 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.8081, allocations: 99.56 kB / 0.7272 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.8082, allocations: 24 kB / 0.7273 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.521e-05/0.8082, allocations: 20 kB / 0.7273 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.8083, allocations: 55.77 kB / 0.7273 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.8084, allocations: 111.6 kB / 0.7274 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.8086, allocations: 217.2 kB / 0.7276 GB, free: 9.707 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8086, allocations: 4 kB / 0.7276 GB, free: 9.703 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8087, allocations: 0 / 0.7276 GB, free: 9.703 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.8087, allocations: 0 / 0.7276 GB, free: 9.703 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008812/0.8096, allocations: 0.5054 MB / 0.7281 GB, free: 9.148 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8096, allocations: 12.03 kB / 0.7281 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.8097, allocations: 28.62 kB / 0.7282 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.8101, allocations: 275.7 kB / 0.7284 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.8102, allocations: 16.69 kB / 0.7285 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.8102, allocations: 28.38 kB / 0.7285 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.8106, allocations: 172.7 kB / 0.7286 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.8106, allocations: 7.938 kB / 0.7287 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.8107, allocations: 7.984 kB / 0.7287 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.8107, allocations: 4 kB / 0.7287 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.8109, allocations: 123.8 kB / 0.7288 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.812, allocations: 0.5118 MB / 0.7293 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.8123, allocations: 210.5 kB / 0.7295 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.8125, allocations: 96.81 kB / 0.7296 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.8125, allocations: 4 kB / 0.7296 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/0.813, allocations: 269.8 kB / 0.7298 GB, free: 7.297 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.562e-06/0.813, allocations: 0 / 0.7298 GB, free: 7.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0007113/0.8137, allocations: 430 kB / 0.7302 GB, free: 6.871 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.8138, allocations: 67.39 kB / 0.7303 GB, free: 6.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.8139, allocations: 153.7 kB / 0.7305 GB, free: 6.633 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.814, allocations: 37.7 kB / 0.7305 GB, free: 6.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.814, allocations: 120.9 kB / 0.7306 GB, free: 6.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/0.8141, allocations: 94.88 kB / 0.7307 GB, free: 6.375 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.8143, allocations: 86.25 kB / 0.7308 GB, free: 6.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.8144, allocations: 338.8 kB / 0.7311 GB, free: 5.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.8146, allocations: 89.08 kB / 0.7312 GB, free: 5.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.8148, allocations: 154.3 kB / 0.7313 GB, free: 5.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.8151, allocations: 223.1 kB / 0.7316 GB, free: 5.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8151, allocations: 0 / 0.7316 GB, free: 5.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004826/0.8156, allocations: 327.7 kB / 0.7319 GB, free: 5.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.8156, allocations: 11.88 kB / 0.7319 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.8156, allocations: 4 kB / 0.7319 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.8156, allocations: 4 kB / 0.7319 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.8158, allocations: 44.05 kB / 0.7319 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.8158, allocations: 3.938 kB / 0.7319 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.816, allocations: 39.73 kB / 0.732 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.816, allocations: 12 kB / 0.732 GB, free: 5.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 (resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul.pulseStart,$PRE.booPul.pulseStart,pre.u,$PRE.pre.u,booPul1.pulseStart,$PRE.booPul1.pulseStart,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.yAcc,$PRE.accuTimer.yAcc,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.0001675/0.8162, allocations: 159 kB / 0.7321 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.8163, allocations: 23.75 kB / 0.7322 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.127e-05/0.8163, allocations: 33.95 kB / 0.7322 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.8163, allocations: 4 kB / 0.7322 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.8164, allocations: 3.938 kB / 0.7322 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8164, allocations: 0 / 0.7322 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.8174, allocations: 0.7365 MB / 0.7329 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.8174, allocations: 0 / 0.7329 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.8175, allocations: 19.92 kB / 0.7329 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8175, allocations: 4 kB / 0.7329 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.8175, allocations: 11.98 kB / 0.7329 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8175, allocations: 0 / 0.7329 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8176, allocations: 0 / 0.7329 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.8181, allocations: 443 kB / 0.7334 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.8182, allocations: 96.77 kB / 0.7335 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.8182, allocations: 8 kB / 0.7335 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.8184, allocations: 27.97 kB / 0.7335 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.8185, allocations: 39.94 kB / 0.7335 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.8186, allocations: 19.98 kB / 0.7336 GB, free: 3.305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.495e-05/0.8187, allocations: 101.5 kB / 0.7336 GB, free: 3.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8187, allocations: 0 / 0.7336 GB, free: 3.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003058/0.819, allocations: 71.98 kB / 0.7337 GB, free: 3.137 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (booPul2.y,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer2.reset_internal,accuTimer1.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,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 (39): * Single equations (assignments): 26 * 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.0002279/0.8192, allocations: 126.5 kB / 0.7338 GB, free: 3.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005632/0.8198, allocations: 302.2 kB / 0.7341 GB, free: 2.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.8198, allocations: 0 / 0.7341 GB, free: 2.707 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.82, allocations: 163.8 kB / 0.7343 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.8204, allocations: 47.89 kB / 0.7343 GB, free: 2.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007564/0.8212, allocations: 409.1 kB / 0.7347 GB, free: 2.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.8215, allocations: 0.7374 MB / 0.7354 GB, free: 1.305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.8216, allocations: 30.97 kB / 0.7355 GB, free: 1.277 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.8217, allocations: 31.42 kB / 0.7355 GB, free: 1.246 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.8217, allocations: 0 / 0.7355 GB, free: 1.246 MB / 0.545 GB Notification: Performance of Templates: time 0.005974/0.8277, allocations: 2.624 MB / 0.7381 GB, free: 14.64 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)