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.588/1.588, allocations: 252 MB / 268 MB, free: 10.84 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.0009793/0.0009793, allocations: 176.7 kB / 327.6 MB, free: 2.078 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.953/1.953, allocations: 205.4 MB / 0.5786 GB, free: 20.36 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.000875/0.0008752, allocations: 86.55 kB / 0.6832 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.000375, allocations: 14.8 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2634, allocations: 106.3 MB / 0.9015 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002112/0.2656, allocations: 1.444 MB / 0.9029 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.2664, allocations: 379.8 kB / 0.9032 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.49e-05/0.2665, allocations: 4 kB / 0.9032 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.2666, allocations: 15.86 kB / 0.9033 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.425e-05/0.2667, allocations: 27.78 kB / 0.9033 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.267, allocations: 83.91 kB / 0.9034 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.2673, allocations: 247.2 kB / 0.9036 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.2675, allocations: 57.41 kB / 0.9036 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.2676, allocations: 79.69 kB / 0.9037 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2678, allocations: 79.66 kB / 0.9038 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.2678, allocations: 12 kB / 0.9038 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.329e-05/0.2679, allocations: 8 kB / 0.9038 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.2679, allocations: 43.81 kB / 0.9039 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.2681, allocations: 133.2 kB / 0.904 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.2683, allocations: 151.9 kB / 0.9041 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2683, allocations: 0 / 0.9041 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2683, allocations: 0 / 0.9041 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.2683, allocations: 4 kB / 0.9041 GB, free: 61.02 MB / 0.6042 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.0008908/0.2692, allocations: 485.7 kB / 0.9046 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.2692, allocations: 8.031 kB / 0.9046 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.2693, allocations: 24.75 kB / 0.9046 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.2699, allocations: 286.8 kB / 0.9049 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.2699, allocations: 16.7 kB / 0.9049 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.27, allocations: 24.36 kB / 0.9049 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.2704, allocations: 177.4 kB / 0.9051 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2704, allocations: 3.938 kB / 0.9051 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.2704, allocations: 15.92 kB / 0.9051 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.2704, allocations: 4 kB / 0.9051 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.2707, allocations: 124.1 kB / 0.9053 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2718, allocations: 0.5196 MB / 0.9058 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.2723, allocations: 202.5 kB / 0.906 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.2725, allocations: 100.8 kB / 0.9061 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.2725, allocations: 4 kB / 0.9061 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.273, allocations: 267.1 kB / 0.9063 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 2.245e-06/0.2731, allocations: 0 / 0.9063 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0009113/0.274, allocations: 426.2 kB / 0.9067 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.274, allocations: 67.34 kB / 0.9068 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2742, allocations: 145.7 kB / 0.9069 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.2742, allocations: 45.69 kB / 0.907 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.2743, allocations: 116.9 kB / 0.9071 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.2744, allocations: 98.77 kB / 0.9072 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.2744, allocations: 12 kB / 0.9072 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.2745, allocations: 334.8 kB / 0.9075 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.2747, allocations: 93.09 kB / 0.9076 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.275, allocations: 154.3 kB / 0.9077 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.2754, allocations: 215.2 kB / 0.9079 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2754, allocations: 0 / 0.9079 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005779/0.276, allocations: 327.6 kB / 0.9083 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.276, allocations: 11.94 kB / 0.9083 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.276, allocations: 0 / 0.9083 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2761, allocations: 4 kB / 0.9083 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.2763, allocations: 44.05 kB / 0.9083 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.2763, allocations: 7.984 kB / 0.9083 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.2766, allocations: 35.83 kB / 0.9084 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.2766, allocations: 12 kB / 0.9084 GB, free: 56.44 MB / 0.6042 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,$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,booPul2.y,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.2768, allocations: 166.9 kB / 0.9085 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.2768, allocations: 27.75 kB / 0.9086 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-05/0.2769, allocations: 25.97 kB / 0.9086 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2769, allocations: 4 kB / 0.9086 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2769, allocations: 0 / 0.9086 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.277, allocations: 3.984 kB / 0.9086 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.2781, allocations: 0.7443 MB / 0.9093 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2781, allocations: 0 / 0.9093 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.477e-05/0.2782, allocations: 15.94 kB / 0.9093 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2782, allocations: 0 / 0.9093 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.2783, allocations: 19.92 kB / 0.9093 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2783, allocations: 0 / 0.9093 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2783, allocations: 0 / 0.9093 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.2789, allocations: 443.2 kB / 0.9098 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.279, allocations: 92.86 kB / 0.9099 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.279, allocations: 15.98 kB / 0.9099 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.2793, allocations: 27.97 kB / 0.9099 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.2794, allocations: 43.88 kB / 0.9099 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.2795, allocations: 23.97 kB / 0.91 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.506e-05/0.2795, allocations: 105.5 kB / 0.9101 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2796, allocations: 0 / 0.9101 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004712/0.28, allocations: 71.89 kB / 0.9101 GB, free: 54.53 MB / 0.6042 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.0001755/0.2802, allocations: 131.6 kB / 0.9103 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005576/0.2808, allocations: 278.3 kB / 0.9105 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2808, allocations: 0 / 0.9105 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.2811, allocations: 159.8 kB / 0.9107 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.2817, allocations: 52.84 kB / 0.9107 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.2825, allocations: 495.1 kB / 0.9112 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.2827, allocations: 0.7416 MB / 0.9119 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.2828, allocations: 27.44 kB / 0.9119 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2829, allocations: 4 kB / 0.912 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.005554/0.2884, allocations: 2.931 MB / 0.9148 GB, free: 49.68 MB / 0.6042 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)