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.001179/0.001179, allocations: 109.8 kB / 15.99 MB, free: 6.348 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.001182/0.001182, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.422/1.422, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.644/1.644, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001566/0.001566, allocations: 66.69 kB / 0.6717 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2189, allocations: 114.6 MB / 0.7835 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003328/0.2223, allocations: 1.832 MB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2236, allocations: 0.7536 MB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.2238, allocations: 0 / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.224, allocations: 19.8 kB / 0.7861 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2242, allocations: 27.77 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2252, allocations: 366.9 kB / 0.7865 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.2257, allocations: 451.1 kB / 0.7869 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.2259, allocations: 52.28 kB / 0.7869 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.2262, allocations: 171.6 kB / 0.7871 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.2264, allocations: 151.4 kB / 0.7872 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.206e-05/0.2265, allocations: 40 kB / 0.7873 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.2266, allocations: 51.98 kB / 0.7873 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.2267, allocations: 47.89 kB / 0.7874 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.2268, allocations: 171.4 kB / 0.7875 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.2272, allocations: 279.6 kB / 0.7878 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2272, allocations: 0 / 0.7878 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2272, allocations: 0 / 0.7878 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.2272, allocations: 7.938 kB / 0.7878 GB, free: 9.453 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.0009025/0.2281, allocations: 0.6238 MB / 0.7884 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2282, allocations: 8.031 kB / 0.7884 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.2283, allocations: 36.66 kB / 0.7885 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.2291, allocations: 297 kB / 0.7888 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.2291, allocations: 28.7 kB / 0.7888 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.343e-05/0.2292, allocations: 40.36 kB / 0.7888 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.2295, allocations: 172.7 kB / 0.789 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2295, allocations: 3.938 kB / 0.789 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.2296, allocations: 19.91 kB / 0.789 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2296, allocations: 4 kB / 0.789 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.2298, allocations: 107.9 kB / 0.7891 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009369/0.2307, allocations: 0.5975 MB / 0.7897 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.231, allocations: 202.5 kB / 0.7899 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.2312, allocations: 84.75 kB / 0.79 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2312, allocations: 8 kB / 0.79 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/0.2317, allocations: 247.5 kB / 0.7902 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.575e-06/0.2317, allocations: 0 / 0.7902 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0007042/0.2324, allocations: 422.9 kB / 0.7906 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.2324, allocations: 63.39 kB / 0.7907 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.2326, allocations: 191 kB / 0.7909 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/0.2327, allocations: 45.7 kB / 0.7909 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2328, allocations: 136.7 kB / 0.791 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.2329, allocations: 82.98 kB / 0.7911 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.2331, allocations: 134.1 kB / 0.7912 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2332, allocations: 330.8 kB / 0.7916 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.2335, allocations: 157 kB / 0.7917 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.2339, allocations: 263.3 kB / 0.792 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.2344, allocations: 423.1 kB / 0.7924 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.2344, allocations: 4 kB / 0.7924 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008816/0.2353, allocations: 0.5885 MB / 0.7929 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.2353, allocations: 93.09 kB / 0.793 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.2354, allocations: 4 kB / 0.793 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2354, allocations: 8 kB / 0.793 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.2356, allocations: 43.95 kB / 0.7931 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.2356, allocations: 11.92 kB / 0.7931 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.2361, allocations: 103.9 kB / 0.7932 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.2362, allocations: 39.97 kB / 0.7932 GB, free: 3.512 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.0001949/0.2364, allocations: 167.6 kB / 0.7934 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.2364, allocations: 31.7 kB / 0.7934 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.669e-05/0.2365, allocations: 22.66 kB / 0.7934 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.2365, allocations: 4 kB / 0.7934 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.2365, allocations: 0 / 0.7934 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2365, allocations: 7.922 kB / 0.7935 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008596/0.2374, allocations: 0.7011 MB / 0.7941 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2374, allocations: 8 kB / 0.7941 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.2375, allocations: 15.94 kB / 0.7942 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2375, allocations: 0 / 0.7942 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.2375, allocations: 15.98 kB / 0.7942 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2375, allocations: 4 kB / 0.7942 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2375, allocations: 3.984 kB / 0.7942 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.238, allocations: 427.3 kB / 0.7946 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.2381, allocations: 96.86 kB / 0.7947 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.2381, allocations: 15.98 kB / 0.7947 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2382, allocations: 11.98 kB / 0.7947 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.2383, allocations: 23.97 kB / 0.7947 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.2383, allocations: 20.08 kB / 0.7948 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.59e-05/0.2384, allocations: 122.3 kB / 0.7949 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2384, allocations: 0 / 0.7949 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000405/0.2388, allocations: 107.8 kB / 0.795 GB, free: 1.629 MB / 0.6075 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.0001657/0.239, allocations: 129.3 kB / 0.7951 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007797/0.2398, allocations: 0.5526 MB / 0.7956 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2398, allocations: 3.938 kB / 0.7956 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.24, allocations: 143.8 kB / 0.7958 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.2404, allocations: 48.83 kB / 0.7958 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007687/0.2412, allocations: 0.4947 MB / 0.7963 GB, free: 188 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.2415, allocations: 0.7448 MB / 0.797 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.2415, allocations: 31.42 kB / 0.7971 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.2415, allocations: 0 / 0.7971 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of Templates: time 0.006258/0.2478, allocations: 3.699 MB / 0.8007 GB, free: 11.71 MB / 0.6231 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)