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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00961/0.009611, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004932, allocations: 20.42 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.219, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001889/0.221, allocations: 1.485 MB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.2223, allocations: 0.7888 MB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.2225, allocations: 4 kB / 0.7901 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2226, allocations: 11.86 kB / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.997e-05/0.2227, allocations: 27.77 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.2237, allocations: 367.4 kB / 0.7905 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.2242, allocations: 399.1 kB / 0.7909 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.2243, allocations: 56.27 kB / 0.7909 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.2246, allocations: 139.6 kB / 0.7911 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.2247, allocations: 123.5 kB / 0.7912 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.596e-05/0.2248, allocations: 20 kB / 0.7912 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2249, allocations: 31.98 kB / 0.7912 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.225, allocations: 47.83 kB / 0.7913 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.2252, allocations: 177.1 kB / 0.7915 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.2256, allocations: 363.1 kB / 0.7918 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2256, allocations: 7.938 kB / 0.7918 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2256, allocations: 0 / 0.7918 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.2256, allocations: 0 / 0.7918 GB, free: 7.527 MB / 0.6075 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.0007655/0.2264, allocations: 0.5498 MB / 0.7923 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2264, allocations: 8.031 kB / 0.7924 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.2265, allocations: 32.66 kB / 0.7924 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.2273, allocations: 317 kB / 0.7927 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.2274, allocations: 28.69 kB / 0.7927 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.2274, allocations: 36.36 kB / 0.7927 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.2277, allocations: 172.8 kB / 0.7929 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2278, allocations: 3.938 kB / 0.7929 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.2278, allocations: 11.98 kB / 0.7929 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2278, allocations: 8 kB / 0.7929 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.228, allocations: 108.2 kB / 0.793 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/0.2289, allocations: 0.5975 MB / 0.7936 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.2292, allocations: 206.4 kB / 0.7938 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2293, allocations: 84.77 kB / 0.7939 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.2294, allocations: 0 / 0.7939 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.2297, allocations: 258.9 kB / 0.7941 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.603e-06/0.2298, allocations: 3.938 kB / 0.7942 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0006619/0.2304, allocations: 411.6 kB / 0.7945 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.2305, allocations: 67.39 kB / 0.7946 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.2306, allocations: 183 kB / 0.7948 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/0.2307, allocations: 49.69 kB / 0.7948 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.2308, allocations: 136.8 kB / 0.795 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.2309, allocations: 86.89 kB / 0.795 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.231, allocations: 65.69 kB / 0.7951 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2311, allocations: 338.8 kB / 0.7954 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.2314, allocations: 145 kB / 0.7956 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.2317, allocations: 275.2 kB / 0.7958 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.2322, allocations: 415.1 kB / 0.7962 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.2322, allocations: 4 kB / 0.7962 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009023/0.2331, allocations: 0.5885 MB / 0.7968 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.288e-05/0.2332, allocations: 100.1 kB / 0.7969 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2332, allocations: 4.375 kB / 0.7969 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.2333, allocations: 12 kB / 0.7969 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.2334, allocations: 43.86 kB / 0.797 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2334, allocations: 7.984 kB / 0.797 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/0.234, allocations: 131.6 kB / 0.7971 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.2341, allocations: 31.98 kB / 0.7971 GB, free: 1.688 MB / 0.6075 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.0001738/0.2342, allocations: 178.9 kB / 0.7973 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.2343, allocations: 23.72 kB / 0.7973 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.2343, allocations: 26.66 kB / 0.7973 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2344, allocations: 4 kB / 0.7973 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2344, allocations: 4 kB / 0.7973 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2344, allocations: 4.078 kB / 0.7974 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008112/0.2352, allocations: 0.709 MB / 0.798 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2352, allocations: 3.984 kB / 0.798 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.378e-05/0.2353, allocations: 19.88 kB / 0.7981 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.2353, allocations: 3.984 kB / 0.7981 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.2353, allocations: 11.98 kB / 0.7981 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2353, allocations: 0 / 0.7981 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2353, allocations: 4 kB / 0.7981 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.2358, allocations: 430.8 kB / 0.7985 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.2358, allocations: 92.86 kB / 0.7986 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.2359, allocations: 11.98 kB / 0.7986 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.236, allocations: 12.08 kB / 0.7986 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.2361, allocations: 27.91 kB / 0.7986 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.2361, allocations: 19.98 kB / 0.7987 GB, free: 16 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.963e-05/0.2362, allocations: 126.3 kB / 0.7988 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2362, allocations: 0 / 0.7988 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003934/0.2366, allocations: 99.83 kB / 0.7989 GB, free: 15.8 MB / 0.6231 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.0001566/0.2368, allocations: 129.4 kB / 0.799 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006911/0.2375, allocations: 0.5411 MB / 0.7995 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2375, allocations: 0.75 kB / 0.7995 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.2377, allocations: 143.8 kB / 0.7997 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.238, allocations: 42.89 kB / 0.7997 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.2388, allocations: 484.2 kB / 0.8002 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.239, allocations: 0.7487 MB / 0.8009 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000111/0.2391, allocations: 34.97 kB / 0.8009 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.2392, allocations: 23.44 kB / 0.8009 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of SimCode: time 1.603e-06/0.2392, allocations: 0 / 0.8009 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.00721/0.2464, allocations: 3.574 MB / 0.8044 GB, free: 10.02 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: