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.454/1.454, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001441/0.001441, allocations: 170.3 kB / 326.5 MB, free: 2.703 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.854/1.854, allocations: 205 MB / 0.5767 GB, free: 20.97 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.0007893/0.0007893, allocations: 78.36 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 8.312 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2162, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001655/0.2179, allocations: 1.464 MB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005208/0.2184, allocations: 388.5 kB / 0.8986 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.2185, allocations: 4 kB / 0.8986 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.2186, allocations: 15.8 kB / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.2187, allocations: 23.84 kB / 0.8986 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.2189, allocations: 83.84 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.2191, allocations: 239.3 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.2193, allocations: 69.61 kB / 0.899 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.478e-05/0.2193, allocations: 67.72 kB / 0.899 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.2194, allocations: 87.58 kB / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.2195, allocations: 12 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/0.2195, allocations: 8 kB / 0.8992 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.2195, allocations: 47.81 kB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.394e-05/0.2196, allocations: 99.58 kB / 0.8993 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.2198, allocations: 203.2 kB / 0.8995 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2198, allocations: 0 / 0.8995 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2198, allocations: 0 / 0.8995 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2198, allocations: 0 / 0.8995 GB, free: 65.38 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.0006529/0.2205, allocations: 489.7 kB / 0.9 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2205, allocations: 12.03 kB / 0.9 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.2206, allocations: 20.75 kB / 0.9 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.221, allocations: 284.4 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.221, allocations: 16.69 kB / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.2211, allocations: 28.38 kB / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.2213, allocations: 177.3 kB / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2213, allocations: 7.938 kB / 0.9005 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.2214, allocations: 7.984 kB / 0.9005 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2214, allocations: 7.938 kB / 0.9005 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.2216, allocations: 124.2 kB / 0.9006 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006964/0.2223, allocations: 0.5196 MB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.2225, allocations: 210.4 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.2226, allocations: 96.81 kB / 0.9014 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.2227, allocations: 4 kB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.223, allocations: 263.2 kB / 0.9017 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.223, allocations: 4 kB / 0.9017 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0005516/0.2236, allocations: 418.2 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.2236, allocations: 75.31 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.2237, allocations: 147.6 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.2237, allocations: 45.7 kB / 0.9023 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.2238, allocations: 116.9 kB / 0.9024 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.2238, allocations: 90.88 kB / 0.9025 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.2239, allocations: 53.69 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.2239, allocations: 334.8 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2241, allocations: 97.08 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.2242, allocations: 150.3 kB / 0.9031 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.2245, allocations: 219.2 kB / 0.9033 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2245, allocations: 0 / 0.9033 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003423/0.2248, allocations: 331.6 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2248, allocations: 4.125 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2248, allocations: 7.938 kB / 0.9037 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2249, allocations: 8 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.225, allocations: 43.86 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.225, allocations: 4 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.2252, allocations: 35.83 kB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.2252, allocations: 16 kB / 0.9038 GB, free: 60.74 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 (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.0001138/0.2253, allocations: 170.9 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.2253, allocations: 15.81 kB / 0.9039 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.2254, allocations: 33.89 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2254, allocations: 0 / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2254, allocations: 0 / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.2254, allocations: 104.8 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.2255, allocations: 11.94 kB / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.2256, allocations: 27.97 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.2257, allocations: 35.94 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004562/0.2262, allocations: 437 kB / 0.9046 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003804/0.2265, allocations: 0.5026 MB / 0.9051 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001502/0.2267, allocations: 156.1 kB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.2268, allocations: 105.3 kB / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of Backend: time 3.61e-07/0.2268, allocations: 0 / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.2272, allocations: 272.8 kB / 0.9056 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005556/0.2278, allocations: 0.8159 MB / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.004372/0.2322, allocations: 2.55 MB / 0.9089 GB, free: 55.45 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)