Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.0009531/0.0009534, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008607/0.008607, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.521/1.521, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.051/3.051, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004238, allocations: 11 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4024, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001028/0.4034, allocations: 467.6 kB / 1.075 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.4053, allocations: 1.279 MB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.4054, allocations: 4 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.4055, allocations: 3.938 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.669e-05/0.4056, allocations: 11.91 kB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007725/0.4063, allocations: 223.2 kB / 1.076 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.4066, allocations: 231.5 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4067, allocations: 16.22 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.4069, allocations: 83.86 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.4071, allocations: 87.75 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.4071, allocations: 15.94 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.4072, allocations: 23.98 kB / 1.077 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.4073, allocations: 23.91 kB / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.4074, allocations: 113.4 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.4077, allocations: 207.6 kB / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.4077, allocations: 0 / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4077, allocations: 4 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4077, allocations: 3.938 kB / 1.077 GB, free: 4.738 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006999/0.4084, allocations: 470.6 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4085, allocations: 8.031 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.4085, allocations: 16.84 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.4092, allocations: 264 kB / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.4093, allocations: 12.38 kB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.4093, allocations: 24.3 kB / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.4096, allocations: 131.9 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4096, allocations: 3.938 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.4096, allocations: 7.984 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4096, allocations: 0 / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.4098, allocations: 67.89 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.4106, allocations: 0.5202 MB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.4109, allocations: 157.2 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.856e-05/0.411, allocations: 69.69 kB / 1.079 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.411, allocations: 160 / 1.079 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.4113, allocations: 210.5 kB / 1.079 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.114e-06/0.4113, allocations: 0 / 1.079 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0005616/0.4119, allocations: 301.4 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.412, allocations: 97.03 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.4121, allocations: 133.9 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.4122, allocations: 41.7 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.4122, allocations: 92.7 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.4123, allocations: 51.41 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.4124, allocations: 41.62 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4125, allocations: 326.8 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.4127, allocations: 84.23 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.4129, allocations: 156.2 kB / 1.08 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.4132, allocations: 253.9 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4133, allocations: 0 / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005668/0.4138, allocations: 352.6 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.635e-05/0.4139, allocations: 75.55 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.4139, allocations: 4.078 kB / 1.081 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4139, allocations: 4 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.414, allocations: 12 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.414, allocations: 15.86 kB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.4144, allocations: 91.77 kB / 1.081 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.4145, allocations: 19.98 kB / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001537/0.4146, allocations: 152 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.4147, allocations: 15.89 kB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.4147, allocations: 12.5 kB / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4147, allocations: 4 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.4148, allocations: 3.938 kB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4148, allocations: 0 / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000767/0.4155, allocations: 0.6109 MB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.4156, allocations: 4 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.4156, allocations: 15.94 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.4156, allocations: 3.938 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.4157, allocations: 7.984 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4157, allocations: 0 / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4157, allocations: 4 kB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.4162, allocations: 424.3 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/0.4163, allocations: 92.86 kB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.4163, allocations: 19.92 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.4165, allocations: 12.08 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.4166, allocations: 23.91 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.4166, allocations: 15.98 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.4167, allocations: 95.27 kB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.086e-06/0.4167, allocations: 0 / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003722/0.417, allocations: 59.94 kB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001964/0.4173, allocations: 121 kB / 1.082 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005172/0.4178, allocations: 342.6 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4178, allocations: 0 / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.418, allocations: 119.9 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.4184, allocations: 29.56 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.4189, allocations: 305 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.4192, allocations: 0.7088 MB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.226e-05/0.4193, allocations: 21.53 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.4194, allocations: 15.44 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4194, allocations: 4 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.006104/0.4255, allocations: 2.481 MB / 1.086 GB, free: 10.49 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)