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.01022/0.01022, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001807/0.001808, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.707/1.707, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.459/1.459, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.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.001492/0.001492, allocations: 71.89 kB / 0.7258 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8267/0.8282, allocations: 104.7 MB / 0.8281 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002987/0.8313, allocations: 1.747 MB / 0.8298 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0007596/0.832, allocations: 379.8 kB / 0.8301 GB, free: 468 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.8321, allocations: 7.938 kB / 0.8301 GB, free: 460 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.8323, allocations: 23.67 kB / 0.8302 GB, free: 436 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.098e-05/0.8324, allocations: 31.72 kB / 0.8302 GB, free: 404 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.8327, allocations: 107.8 kB / 0.8303 GB, free: 296 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.833, allocations: 251.3 kB / 0.8305 GB, free: 44 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.8332, allocations: 61.66 kB / 0.8306 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.8333, allocations: 99.62 kB / 0.8307 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.8335, allocations: 95.59 kB / 0.8308 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.8335, allocations: 24 kB / 0.8308 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-05/0.8336, allocations: 20 kB / 0.8308 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.8336, allocations: 55.86 kB / 0.8309 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.8337, allocations: 115.5 kB / 0.831 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.834, allocations: 217.1 kB / 0.8312 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.834, allocations: 0 / 0.8312 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.793e-06/0.834, allocations: 4 kB / 0.8312 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.834, allocations: 0 / 0.8312 GB, free: 15.37 MB / 0.6387 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.0009026/0.835, allocations: 0.5055 MB / 0.8317 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.835, allocations: 8.031 kB / 0.8317 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/0.8351, allocations: 20.75 kB / 0.8317 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.8355, allocations: 276.3 kB / 0.832 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.8356, allocations: 24.64 kB / 0.832 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.8356, allocations: 24.36 kB / 0.832 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.8359, allocations: 177.4 kB / 0.8322 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.8359, allocations: 7.922 kB / 0.8322 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.836, allocations: 8 kB / 0.8322 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.836, allocations: 4 kB / 0.8322 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.8362, allocations: 128.1 kB / 0.8323 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.8371, allocations: 0.5079 MB / 0.8328 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.8375, allocations: 212.8 kB / 0.833 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.8377, allocations: 100.8 kB / 0.8331 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.8377, allocations: 0 / 0.8331 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005134/0.8382, allocations: 265.3 kB / 0.8334 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.134e-06/0.8382, allocations: 0 / 0.8334 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.0007701/0.839, allocations: 430.1 kB / 0.8338 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.8391, allocations: 59.34 kB / 0.8338 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.8392, allocations: 156.8 kB / 0.834 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.8393, allocations: 49.69 kB / 0.834 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.8393, allocations: 108.9 kB / 0.8341 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.677e-05/0.8394, allocations: 94.88 kB / 0.8342 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.8396, allocations: 90.25 kB / 0.8343 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8397, allocations: 330.8 kB / 0.8346 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.8399, allocations: 97.08 kB / 0.8347 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.8401, allocations: 154.3 kB / 0.8349 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.8404, allocations: 219.1 kB / 0.8351 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8404, allocations: 0 / 0.8351 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004715/0.8409, allocations: 323.7 kB / 0.8354 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.841, allocations: 11.94 kB / 0.8354 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.841, allocations: 7.922 kB / 0.8354 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.841, allocations: 4 kB / 0.8354 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.8412, allocations: 43.86 kB / 0.8355 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.8412, allocations: 8 kB / 0.8355 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.8414, allocations: 31.83 kB / 0.8355 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.8414, allocations: 12 kB / 0.8355 GB, free: 10.7 MB / 0.6387 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.0001583/0.8416, allocations: 171.4 kB / 0.8357 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.8416, allocations: 23.75 kB / 0.8357 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.74e-05/0.8417, allocations: 29.95 kB / 0.8357 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.8417, allocations: 4 kB / 0.8357 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.8417, allocations: 0 / 0.8357 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.8417, allocations: 0 / 0.8357 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.8428, allocations: 0.7368 MB / 0.8364 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.8428, allocations: 4 kB / 0.8365 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.892e-05/0.8428, allocations: 19.94 kB / 0.8365 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.8429, allocations: 3.984 kB / 0.8365 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.8429, allocations: 11.98 kB / 0.8365 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8429, allocations: 0 / 0.8365 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.8429, allocations: 0 / 0.8365 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.8434, allocations: 440.5 kB / 0.8369 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.8435, allocations: 100.8 kB / 0.837 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.8436, allocations: 16 kB / 0.837 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.8437, allocations: 23.97 kB / 0.837 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.835e-05/0.8438, allocations: 35.94 kB / 0.8371 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.8439, allocations: 19.98 kB / 0.8371 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.8439, allocations: 99.27 kB / 0.8372 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8439, allocations: 0 / 0.8372 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003119/0.8443, allocations: 75.89 kB / 0.8373 GB, free: 8.801 MB / 0.6387 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.0001722/0.8444, allocations: 130.9 kB / 0.8374 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.8449, allocations: 274.3 kB / 0.8376 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8449, allocations: 4 kB / 0.8376 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.8452, allocations: 151.9 kB / 0.8378 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.8455, allocations: 51.69 kB / 0.8378 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007478/0.8463, allocations: 408.8 kB / 0.8382 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.8467, allocations: 0.7373 MB / 0.839 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.8468, allocations: 34.97 kB / 0.839 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.8468, allocations: 27.42 kB / 0.839 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.8468, allocations: 0 / 0.839 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of Templates: time 0.006649/0.8535, allocations: 2.66 MB / 0.8416 GB, free: 4.297 MB / 0.6387 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)