Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.533/1.533, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 192.5 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008959/0.0008959, allocations: 107.5 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009601/0.0009601, allocations: 59.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2239, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003299/0.2272, allocations: 1.846 MB / 0.984 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2287, allocations: 0.7849 MB / 0.9848 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.2289, allocations: 4 kB / 0.9848 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.229, allocations: 11.86 kB / 0.9848 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.2292, allocations: 27.72 kB / 0.9848 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.2304, allocations: 363.4 kB / 0.9852 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006484/0.2311, allocations: 399.1 kB / 0.9856 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.2313, allocations: 60.27 kB / 0.9856 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.2317, allocations: 147.7 kB / 0.9858 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.232, allocations: 135.5 kB / 0.9859 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.2321, allocations: 20 kB / 0.9859 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.2323, allocations: 39.98 kB / 0.986 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.2323, allocations: 55.8 kB / 0.986 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.2326, allocations: 151.5 kB / 0.9862 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.233, allocations: 375.1 kB / 0.9865 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.233, allocations: 0 / 0.9865 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2331, allocations: 0 / 0.9865 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.2331, allocations: 0 / 0.9865 GB, free: 5.984 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001236/0.2343, allocations: 0.6238 MB / 0.9871 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.2344, allocations: 12.03 kB / 0.9871 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.2345, allocations: 40.64 kB / 0.9872 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008592/0.2354, allocations: 301 kB / 0.9875 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.2355, allocations: 20.7 kB / 0.9875 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.2356, allocations: 36.36 kB / 0.9875 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.236, allocations: 177.4 kB / 0.9877 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.236, allocations: 11.94 kB / 0.9877 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.236, allocations: 11.98 kB / 0.9877 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.236, allocations: 4 kB / 0.9877 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.2363, allocations: 111.8 kB / 0.9878 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.2374, allocations: 0.6014 MB / 0.9884 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.2378, allocations: 202.4 kB / 0.9886 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.2379, allocations: 84.77 kB / 0.9887 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.238, allocations: 4 kB / 0.9887 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005732/0.2385, allocations: 250.8 kB / 0.9889 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.515e-06/0.2385, allocations: 0 / 0.9889 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.0008021/0.2394, allocations: 402 kB / 0.9893 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.2394, allocations: 67.39 kB / 0.9894 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.2397, allocations: 198.9 kB / 0.9896 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/0.2397, allocations: 49.7 kB / 0.9896 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.2399, allocations: 128.8 kB / 0.9897 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.492e-05/0.24, allocations: 86.89 kB / 0.9898 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.2402, allocations: 130.2 kB / 0.9899 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2404, allocations: 338.8 kB / 0.9903 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.2407, allocations: 149 kB / 0.9904 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.2411, allocations: 273.3 kB / 0.9907 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.2417, allocations: 422.5 kB / 0.9911 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2417, allocations: 0 / 0.9911 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001003/0.2427, allocations: 0.588 MB / 0.9916 GB, free: 360 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.2428, allocations: 101.2 kB / 0.9917 GB, free: 240 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.2428, allocations: 4 kB / 0.9917 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.2429, allocations: 8 kB / 0.9917 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.243, allocations: 43.86 kB / 0.9918 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.243, allocations: 4.094 kB / 0.9918 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.2436, allocations: 107.5 kB / 0.9919 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.2436, allocations: 31.98 kB / 0.9919 GB, free: 40 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 (accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer.yAcc,$PRE.accuTimer.yAcc,resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.y,$whenCondition3,pre.y,$PRE.pre.u,$whenCondition9,con.y,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,booPul2.y,$PRE.booPul2.y,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,$whenCondition7,$whenCondition8,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul.y,$PRE.booPul.y,pre.u,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0002609/0.2439, allocations: 182.9 kB / 0.9921 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.244, allocations: 27.7 kB / 0.9921 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.34e-05/0.244, allocations: 26.66 kB / 0.9922 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2441, allocations: 4 kB / 0.9922 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.2441, allocations: 4 kB / 0.9922 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.2441, allocations: 3.984 kB / 0.9922 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008689/0.245, allocations: 0.705 MB / 0.9929 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.245, allocations: 3.984 kB / 0.9929 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.245, allocations: 19.94 kB / 0.9929 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2451, allocations: 0 / 0.9929 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.2451, allocations: 11.98 kB / 0.9929 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2451, allocations: 8 kB / 0.9929 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2451, allocations: 0 / 0.9929 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009434/0.246, allocations: 1.083 MB / 0.994 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.47e-05/0.2461, allocations: 100.8 kB / 0.994 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.2462, allocations: 19.92 kB / 0.9941 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.2463, allocations: 7.984 kB / 0.9941 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.2464, allocations: 27.97 kB / 0.9941 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.2464, allocations: 15.98 kB / 0.9941 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001072/0.2465, allocations: 129.2 kB / 0.9942 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2465, allocations: 0 / 0.9942 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005266/0.2471, allocations: 91.89 kB / 0.9943 GB, free: 13.44 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,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 (36): * Single equations (assignments): 23 * 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.0002188/0.2473, allocations: 121.4 kB / 0.9944 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008422/0.2481, allocations: 0.5483 MB / 0.995 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2482, allocations: 0 / 0.995 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.2484, allocations: 139.9 kB / 0.9951 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.2488, allocations: 40.72 kB / 0.9951 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2498, allocations: 0.6913 MB / 0.9958 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.2502, allocations: 0.7565 MB / 0.9966 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.2503, allocations: 31.16 kB / 0.9966 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.2504, allocations: 27.44 kB / 0.9966 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.2504, allocations: 3.938 kB / 0.9966 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of Templates: time 0.008429/0.2588, allocations: 3.771 MB / 1 GB, free: 7.223 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)