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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.303/1.303, allocations: 252 MB / 267.9 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 178.4 kB / 327.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 0.5785 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008304/0.0008304, allocations: 87.47 kB / 0.6831 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 13.44 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1768, allocations: 106.3 MB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.3288, allocations: 132.1 MB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.329, allocations: 67.97 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006152/0.3352, allocations: 2.279 MB / 1.033 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3352, allocations: 7.938 kB / 1.033 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.3352, allocations: 4 kB / 1.033 GB, free: 9.121 MB / 0.6823 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.0007694/0.336, allocations: 485.7 kB / 1.033 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3361, allocations: 12.03 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.3362, allocations: 24.75 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.3365, allocations: 238 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.3365, allocations: 16.69 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.3365, allocations: 28.36 kB / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.3369, allocations: 177.3 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3369, allocations: 192 / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.3369, allocations: 15.92 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3369, allocations: 4 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.3371, allocations: 124.5 kB / 1.034 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000989/0.3381, allocations: 0.5446 MB / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.3385, allocations: 228.5 kB / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.3386, allocations: 100.8 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.3387, allocations: 8 kB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004319/0.3391, allocations: 265.6 kB / 1.035 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 1.853e-06/0.3391, allocations: 0 / 1.035 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.0006845/0.3398, allocations: 430.1 kB / 1.035 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.3399, allocations: 63.39 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.34, allocations: 163.9 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.3401, allocations: 41.7 kB / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.3401, allocations: 116.9 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.3402, allocations: 90.89 kB / 1.036 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.3402, allocations: 8 kB / 1.036 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3404, allocations: 334.8 kB / 1.036 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.3405, allocations: 97.02 kB / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.3407, allocations: 154.3 kB / 1.036 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.341, allocations: 215.1 kB / 1.036 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3411, allocations: 0 / 1.036 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000483/0.3415, allocations: 331.8 kB / 1.037 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3416, allocations: 6.812 kB / 1.037 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3416, allocations: 3.938 kB / 1.037 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3416, allocations: 4 kB / 1.037 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3418, allocations: 43.86 kB / 1.037 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3418, allocations: 4 kB / 1.037 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.342, allocations: 43.81 kB / 1.037 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.342, allocations: 20.09 kB / 1.037 GB, free: 4.52 MB / 0.6823 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 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.3421, allocations: 151 kB / 1.037 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.3422, allocations: 23.7 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.3422, allocations: 33.89 kB / 1.037 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3422, allocations: 4 kB / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3423, allocations: 0 / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3423, allocations: 11.86 kB / 1.037 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009767/0.3433, allocations: 0.7599 MB / 1.038 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3433, allocations: 0 / 1.038 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.3433, allocations: 8 kB / 1.038 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3433, allocations: 4 kB / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.3434, allocations: 11.98 kB / 1.038 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3434, allocations: 0 / 1.038 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3434, allocations: 8 kB / 1.038 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.3439, allocations: 439 kB / 1.038 GB, free: 3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.344, allocations: 96.86 kB / 1.038 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.344, allocations: 15.98 kB / 1.038 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.3442, allocations: 27.97 kB / 1.038 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.3443, allocations: 43.92 kB / 1.038 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.3443, allocations: 19.98 kB / 1.038 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.867e-05/0.3444, allocations: 103.3 kB / 1.038 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3444, allocations: 3.938 kB / 1.038 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002873/0.3447, allocations: 71.98 kB / 1.039 GB, free: 2.605 MB / 0.6823 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 (accuTimer2.u,$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,accuTimer1.reset_internal,accuTimer2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.3448, allocations: 125.8 kB / 1.039 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004337/0.3453, allocations: 278.9 kB / 1.039 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3453, allocations: 0 / 1.039 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.3455, allocations: 159.8 kB / 1.039 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3459, allocations: 43.48 kB / 1.039 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007291/0.3466, allocations: 453.6 kB / 1.04 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3469, allocations: 0.7374 MB / 1.04 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.3471, allocations: 30.97 kB / 1.04 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.3471, allocations: 23.44 kB / 1.04 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of SimCode: time 4.5e-07/0.3471, allocations: 0 / 1.04 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of Templates: time 0.005593/0.3527, allocations: 2.34 MB / 1.043 GB, free: 14.38 MB / 0.698 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)