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.401/1.401, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009915/0.0009915, allocations: 180.3 kB / 327.3 MB, free: 2.219 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.621/1.621, allocations: 205.4 MB / 0.5783 GB, free: 20.27 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.0007682/0.0007684, allocations: 90.34 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 9 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2025, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001585/0.2041, allocations: 1.417 MB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005373/0.2047, allocations: 375.9 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.2047, allocations: 0 / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.829e-05/0.2049, allocations: 19.8 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.76e-05/0.2049, allocations: 23.77 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.2052, allocations: 79.91 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.2054, allocations: 235.3 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2055, allocations: 53.3 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.2056, allocations: 75.69 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.2057, allocations: 79.67 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.2057, allocations: 16 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.415e-05/0.2057, allocations: 8 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.2058, allocations: 43.86 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.2058, allocations: 65.58 kB / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.206, allocations: 155.8 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.206, allocations: 0 / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.206, allocations: 0 / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.206, allocations: 0 / 0.9034 GB, free: 61.27 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.0006702/0.2067, allocations: 485.6 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2067, allocations: 8.031 kB / 0.9039 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.2068, allocations: 19.81 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.2072, allocations: 283.6 kB / 0.9042 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.2072, allocations: 20.31 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.2072, allocations: 27.94 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.2075, allocations: 176.8 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2075, allocations: 3.938 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.2076, allocations: 4 kB / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2076, allocations: 8 kB / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.2078, allocations: 128.1 kB / 0.9045 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.2085, allocations: 0.5195 MB / 0.905 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.2088, allocations: 208.5 kB / 0.9052 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.2089, allocations: 100.8 kB / 0.9053 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.209, allocations: 0 / 0.9053 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.2093, allocations: 263.3 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/0.2094, allocations: 3.938 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0005902/0.21, allocations: 414.2 kB / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.21, allocations: 71.33 kB / 0.906 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.2101, allocations: 152.3 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.2101, allocations: 49.69 kB / 0.9062 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.2102, allocations: 116.9 kB / 0.9063 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.2103, allocations: 90.8 kB / 0.9064 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.2103, allocations: 12 kB / 0.9064 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.2103, allocations: 330.8 kB / 0.9067 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2105, allocations: 93.08 kB / 0.9068 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.2106, allocations: 154.3 kB / 0.907 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.2108, allocations: 88.81 kB / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2108, allocations: 0 / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003594/0.2111, allocations: 327.7 kB / 0.9074 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2112, allocations: 6.5 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2112, allocations: 4.125 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2112, allocations: 4 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.2114, allocations: 43.86 kB / 0.9074 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2114, allocations: 4 kB / 0.9074 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.2116, allocations: 35.81 kB / 0.9075 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.2116, allocations: 19.95 kB / 0.9075 GB, free: 56.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.2117, allocations: 159 kB / 0.9076 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.2118, allocations: 31.69 kB / 0.9077 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.2118, allocations: 29.91 kB / 0.9077 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2118, allocations: 4 kB / 0.9077 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2118, allocations: 0 / 0.9077 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2119, allocations: 3.984 kB / 0.9077 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.2126, allocations: 0.7443 MB / 0.9084 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2127, allocations: 3.938 kB / 0.9084 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.2127, allocations: 11.98 kB / 0.9085 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2127, allocations: 4 kB / 0.9085 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.2128, allocations: 11.98 kB / 0.9085 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2128, allocations: 7.875 kB / 0.9085 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2128, allocations: 0 / 0.9085 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.2132, allocations: 435.1 kB / 0.9089 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.2132, allocations: 100.9 kB / 0.909 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.2133, allocations: 11.98 kB / 0.909 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.2135, allocations: 23.97 kB / 0.909 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.2136, allocations: 35.94 kB / 0.9091 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.2136, allocations: 19.98 kB / 0.9091 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.2136, allocations: 109.3 kB / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2136, allocations: 8 kB / 0.9092 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002684/0.2139, allocations: 67.91 kB / 0.9093 GB, free: 54.94 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 (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.0001507/0.2141, allocations: 129 kB / 0.9094 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.2145, allocations: 274.9 kB / 0.9096 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2145, allocations: 0 / 0.9096 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.2146, allocations: 156.1 kB / 0.9098 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.215, allocations: 43.95 kB / 0.9098 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.2156, allocations: 475.1 kB / 0.9103 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.2158, allocations: 0.7377 MB / 0.911 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.2159, allocations: 31.42 kB / 0.911 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2159, allocations: 0 / 0.911 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.003809/0.2197, allocations: 2.945 MB / 0.9139 GB, free: 50.12 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)