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.001074/0.001075, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 186.9 kB / 16.62 MB, free: 6.582 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.335/1.335, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.738/1.738, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001459/0.001459, allocations: 65.88 kB / 0.6723 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1865, allocations: 114.5 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003399/0.1899, allocations: 1.785 MB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1911, allocations: 0.7624 MB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.1912, allocations: 4 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.1913, allocations: 19.73 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.675e-05/0.1914, allocations: 35.64 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009362/0.1923, allocations: 403.8 kB / 0.7871 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.1927, allocations: 447.2 kB / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.1929, allocations: 60.28 kB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.193, allocations: 167.6 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1932, allocations: 163.5 kB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.1933, allocations: 40 kB / 0.7879 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1934, allocations: 51.98 kB / 0.788 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.1935, allocations: 51.83 kB / 0.788 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.1936, allocations: 175.4 kB / 0.7882 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.194, allocations: 386.8 kB / 0.7885 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.194, allocations: 7.922 kB / 0.7885 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.194, allocations: 0 / 0.7885 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.194, allocations: 0 / 0.7885 GB, free: 8.164 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.0007599/0.1948, allocations: 0.6239 MB / 0.7892 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1948, allocations: 15.97 kB / 0.7892 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.1949, allocations: 32.66 kB / 0.7892 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/0.1957, allocations: 301 kB / 0.7895 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.1957, allocations: 24.7 kB / 0.7895 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.1958, allocations: 44.36 kB / 0.7896 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.1961, allocations: 176.7 kB / 0.7897 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1961, allocations: 7.875 kB / 0.7897 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.1961, allocations: 7.984 kB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1961, allocations: 4 kB / 0.7897 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.1963, allocations: 112.2 kB / 0.7898 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007905/0.1971, allocations: 0.5897 MB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.1974, allocations: 194.5 kB / 0.7906 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1975, allocations: 84.77 kB / 0.7907 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.1975, allocations: 4 kB / 0.7907 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.1979, allocations: 259.4 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.945e-06/0.1979, allocations: 3.984 kB / 0.7909 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0006432/0.1985, allocations: 418.9 kB / 0.7913 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1986, allocations: 63.34 kB / 0.7914 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.1987, allocations: 183.1 kB / 0.7916 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.1988, allocations: 49.7 kB / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.1989, allocations: 136.7 kB / 0.7918 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.1989, allocations: 83 kB / 0.7918 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.1991, allocations: 138.1 kB / 0.792 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.1992, allocations: 330.8 kB / 0.7923 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.1995, allocations: 153 kB / 0.7924 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.1998, allocations: 271.3 kB / 0.7927 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.2003, allocations: 424.1 kB / 0.7931 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2003, allocations: 7.938 kB / 0.7931 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008355/0.2011, allocations: 0.5916 MB / 0.7937 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.2012, allocations: 93.09 kB / 0.7938 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2012, allocations: 4.375 kB / 0.7938 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2012, allocations: 12 kB / 0.7938 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.2014, allocations: 43.86 kB / 0.7938 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.2014, allocations: 7.938 kB / 0.7938 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.2019, allocations: 99.59 kB / 0.7939 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.202, allocations: 35.98 kB / 0.794 GB, free: 2.211 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.0001517/0.2021, allocations: 175.9 kB / 0.7941 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.2022, allocations: 31.64 kB / 0.7942 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.2022, allocations: 22.66 kB / 0.7942 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.2022, allocations: 4 kB / 0.7942 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2023, allocations: 3.938 kB / 0.7942 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2023, allocations: 3.984 kB / 0.7942 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007746/0.203, allocations: 0.7016 MB / 0.7949 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.2031, allocations: 0 / 0.7949 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.2031, allocations: 19.94 kB / 0.7949 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2031, allocations: 0 / 0.7949 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.2032, allocations: 11.98 kB / 0.7949 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.2032, allocations: 4 kB / 0.7949 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2032, allocations: 0 / 0.7949 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.2036, allocations: 432.5 kB / 0.7953 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.2037, allocations: 108.8 kB / 0.7954 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.2037, allocations: 15.98 kB / 0.7954 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.2039, allocations: 3.984 kB / 0.7954 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.2039, allocations: 23.97 kB / 0.7955 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.2039, allocations: 23.98 kB / 0.7955 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.956e-05/0.204, allocations: 126.3 kB / 0.7956 GB, free: 432 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.204, allocations: 0 / 0.7956 GB, free: 432 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003657/0.2044, allocations: 103.8 kB / 0.7957 GB, free: 328 kB / 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.0001346/0.2045, allocations: 125.4 kB / 0.7958 GB, free: 196 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006711/0.2052, allocations: 0.537 MB / 0.7964 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2052, allocations: 0 / 0.7964 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.2054, allocations: 148.5 kB / 0.7965 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.2058, allocations: 40.16 kB / 0.7965 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.2065, allocations: 416.8 kB / 0.7969 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.2067, allocations: 0.7486 MB / 0.7977 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.143e-05/0.2068, allocations: 30.97 kB / 0.7977 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.2069, allocations: 31.44 kB / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2069, allocations: 0 / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of Templates: time 0.006707/0.2136, allocations: 3.794 MB / 0.8014 GB, free: 10.4 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)